mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
DB/Creature: Fix recently broken The Etymidian's script
This commit is contained in:
2
sql/updates/world/3.3.5/2021_05_06_00_world.sql
Normal file
2
sql/updates/world/3.3.5/2021_05_06_00_world.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `creature_template_addon` SET `auras` = "16245" WHERE `entry` = 28092;
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user