mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Scripts/AzjolNerub: Hadronox is a big spider mommy, and needs more room to pet her spider pets properly. Hopefully this'll reduce the number of evades happening during the encounter. Tag #20310.
This commit is contained in:
@@ -219,7 +219,7 @@ public:
|
||||
bool CanAIAttack(Unit const* target) const override
|
||||
{
|
||||
// Prevent Hadronox from going too far from her current home position
|
||||
if (!target->IsControlledByPlayer() && target->GetDistance(me->GetHomePosition()) > 20.0f)
|
||||
if (!target->IsControlledByPlayer() && target->GetDistance(me->GetHomePosition()) > 70.0f)
|
||||
return false;
|
||||
return BossAI::CanAIAttack(target);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user