DB/Creature: Fix recently broken The Etymidian's script

(cherry picked from commit 79944605c6)
This commit is contained in:
offl
2021-05-06 17:09:16 +03:00
committed by Shauren
parent 56f0129ff3
commit b1139ada4d
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
--
UPDATE `creature_template_addon` SET `auras` = "16245" WHERE `entry` = 28092;

View File

@@ -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)