fix(Scripts/Karazhan): Allow portal color effects to overlap on players. (#19204)
Init.
This commit is contained in:
@@ -144,8 +144,6 @@ struct boss_netherspite : public BossAI
|
|||||||
if (p && p->IsAlive() // alive
|
if (p && p->IsAlive() // alive
|
||||||
&& (!target || target->GetDistance2d(portal) > p->GetDistance2d(portal)) // closer than current best
|
&& (!target || target->GetDistance2d(portal) > p->GetDistance2d(portal)) // closer than current best
|
||||||
&& !p->HasAura(PlayerDebuff[j]) // not exhausted
|
&& !p->HasAura(PlayerDebuff[j]) // not exhausted
|
||||||
&& !p->HasAura(PlayerBuff[(j + 1) % 3]) // not on another beam
|
|
||||||
&& !p->HasAura(PlayerBuff[(j + 2) % 3])
|
|
||||||
&& IsBetween(me, p, portal)) // on the beam
|
&& IsBetween(me, p, portal)) // on the beam
|
||||||
target = p;
|
target = p;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user