aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2014-04-11 23:12:12 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2014-04-11 23:12:12 +0200
commit5454e10b52c6e8c75afba25a1cc8fb13c6ef8dcc (patch)
tree4550ff13616242169009c245277bfa454d0e4988 /src/server/scripts
parent4e59d0b9228789c2c17c3dc9aa52c9f498b0c0e3 (diff)
parent870d5d9c45ddf8331f7029072f44f4b1cfa3b54b (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/scripts/EasternKingdoms/zone_tirisfal_glades.cpp
Diffstat (limited to 'src/server/scripts')
-rw-r--r--src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp
index b5bd510addc..ee27a1524f0 100644
--- a/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp
+++ b/src/server/scripts/Northrend/ChamberOfAspects/RubySanctum/boss_halion.cpp
@@ -393,6 +393,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);
}