From 18f3bdc393379f3f68f08f3b40093bd75b6b5a8a Mon Sep 17 00:00:00 2001 From: tartalo Date: Wed, 9 Dec 2009 13:33:42 +0100 Subject: Nexus, Anomalus: Non blizzlike hack to avoid an exploit --HG-- branch : trunk --- .../scripts/scripts/northrend/nexus/nexus/boss_anomalus.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src') diff --git a/src/bindings/scripts/scripts/northrend/nexus/nexus/boss_anomalus.cpp b/src/bindings/scripts/scripts/northrend/nexus/nexus/boss_anomalus.cpp index 141e5d1dc65..f6829eff7a0 100644 --- a/src/bindings/scripts/scripts/northrend/nexus/nexus/boss_anomalus.cpp +++ b/src/bindings/scripts/scripts/northrend/nexus/nexus/boss_anomalus.cpp @@ -126,6 +126,13 @@ struct TRINITY_DLL_DECL boss_anomalusAI : public ScriptedAI if (!UpdateVictim()) return; + if (m_creature->GetDistance(m_creature->GetHomePosition()) > 60.0f) + { + //Not blizzlike, hack to avoid an exploit + EnterEvadeMode(); + return; + } + if (m_creature->HasAura(SPELL_RIFT_SHIELD)) { if (ChaoticRiftGUID) -- cgit v1.2.3