mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
Scripts/Ruby Sanctum: Fixed Halion engaging combat outside of his Flame Ring.
This commit is contained in:
@@ -394,6 +394,13 @@ class boss_halion : public CreatureScript
|
||||
if (events.IsInPhase(PHASE_TWO))
|
||||
return;
|
||||
|
||||
// Rough radius, it is not an exactly perfect circle
|
||||
if (me->GetDistance2d(HalionControllerSpawnPos.GetPositionX(), HalionControllerSpawnPos.GetPositionY()) > 48.5f)
|
||||
{
|
||||
EnterEvadeMode();
|
||||
return;
|
||||
}
|
||||
|
||||
generic_halionAI::UpdateAI(diff);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user