Uncap damage reduction tokens past wave 2000

This commit is contained in:
Flashfyre 2024-04-07 09:13:16 -04:00
parent 6decbec6a9
commit 5437d315c0

View File

@ -1973,6 +1973,10 @@ export class EnemyDamageReducerModifier extends EnemyDamageMultiplierModifier {
getArgs(): any[] {
return [ (1 - this.damageMultiplier) * 100 ];
}
getMaxStackCount(scene: BattleScene): integer {
return scene.currentBattle.waveIndex < 2000 ? super.getMaxStackCount(scene) : 999;
}
}
export class EnemyTurnHealModifier extends EnemyPersistentModifier {