fix(Scripts/Karazhan): Allow portal color effects to overlap on players. (#19204)

Init.
This commit is contained in:
Benjamin Jackson
2024-06-28 04:25:36 -04:00
committed by GitHub
parent 2e39bea41f
commit 617341230e

View File

@@ -144,8 +144,6 @@ struct boss_netherspite : public BossAI
if (p && p->IsAlive() // alive
&& (!target || target->GetDistance2d(portal) > p->GetDistance2d(portal)) // closer than current best
&& !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
target = p;
}