fix(Scripts/ZulAman): Limit target search range for Cyclones (#21131)
This commit is contained in:
parent
1fca5a13bd
commit
89204a4cdc
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue