Uncap damage reduction tokens past wave 2000

pull/55/head
Flashfyre 2024-04-07 09:13:16 -04:00
parent 6decbec6a9
commit 5437d315c0
1 changed files with 4 additions and 0 deletions

View File

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