From b1139ada4d05bc08dfe3bdb8ba8b3848e66cff61 Mon Sep 17 00:00:00 2001 From: offl Date: Thu, 6 May 2021 17:09:16 +0300 Subject: [PATCH] DB/Creature: Fix recently broken The Etymidian's script (cherry picked from commit 79944605c644c597bada8535d9edd1fc3c77e4cc) --- .../world/master/2022_03_09_19_world_2021_05_06_00_world.sql | 2 ++ src/server/scripts/Events/childrens_week.cpp | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 sql/updates/world/master/2022_03_09_19_world_2021_05_06_00_world.sql diff --git a/sql/updates/world/master/2022_03_09_19_world_2021_05_06_00_world.sql b/sql/updates/world/master/2022_03_09_19_world_2021_05_06_00_world.sql new file mode 100644 index 00000000000..1e83d803619 --- /dev/null +++ b/sql/updates/world/master/2022_03_09_19_world_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 deaa73742a2..6ccde87a400 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)