v2.5.0: fixed invuln fx cancelling champion mob auras

This commit is contained in:
Evan Debenham
2024-08-29 15:25:52 -04:00
parent 63e6ab9e0f
commit 210d1b4e8a

View File

@@ -35,7 +35,7 @@ public class Invulnerability extends FlavourBuff {
@Override
public void fx(boolean on) {
if (target.buff(ChampionEnemy.class) != null) return;
if (!target.buffs(ChampionEnemy.class).isEmpty()) return;
if (on) target.sprite.aura( 0xFFFF00 );
else target.sprite.clearAura();
}