mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-31 06:07:37 +01:00
Nexus, Anomalus: Non blizzlike hack to avoid an exploit
--HG-- branch : trunk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user