aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroffl <offl@users.noreply.github.com>2021-05-06 17:09:16 +0300
committeroffl <offl@users.noreply.github.com>2021-05-06 17:09:16 +0300
commit79944605c644c597bada8535d9edd1fc3c77e4cc (patch)
tree3a4edb8a29d2dc85e421dbe89b629697252e2a98
parent471e5af32d24f99bea987ea4705f0165c9ece4d6 (diff)
DB/Creature: Fix recently broken The Etymidian's script
-rw-r--r--sql/updates/world/3.3.5/2021_05_06_00_world.sql2
-rw-r--r--src/server/scripts/Events/childrens_week.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/sql/updates/world/3.3.5/2021_05_06_00_world.sql b/sql/updates/world/3.3.5/2021_05_06_00_world.sql
new file mode 100644
index 00000000000..1e83d803619
--- /dev/null
+++ b/sql/updates/world/3.3.5/2021_05_06_00_world.sql
@@ -0,0 +1,2 @@
+--
+UPDATE `creature_template_addon` SET `auras` = "16245" WHERE `entry` = 28092;
diff --git a/src/server/scripts/Events/childrens_week.cpp b/src/server/scripts/Events/childrens_week.cpp
index c2181dc394f..b4dc1f6beae 100644
--- a/src/server/scripts/Events/childrens_week.cpp
+++ b/src/server/scripts/Events/childrens_week.cpp
@@ -684,6 +684,8 @@ class npc_the_etymidian : public CreatureScript
Talk(SAY_ACTIVATION);
}
+ // doesn't trigger if creature is stunned. Restore aura 25900 when it will be possible or
+ // find another way to start event(from orphan script)
void MoveInLineOfSight(Unit* who) override
{
if (!phase && who && who->GetDistance2d(me) < 10.0f)