Skip to content

Commit

Permalink
fix(Scripts/ZulAman): Limit target search range for Cyclones (azeroth…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Jan 10, 2025
1 parent 1fca5a1 commit 89204a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,8 @@ struct npc_zuljin_vortex : public ScriptedAI
void ChangeToNewPlayer()
{
DoResetThreatList();
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 0.0f, true))
{
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 100.0f, true))
me->AddThreat(target, 10000000.0f);
}
}

void UpdateAI(uint32 /*diff*/) override
Expand Down

0 comments on commit 89204a4

Please sign in to comment.