Grant a plus voucher instead of a normal one for every 250th wave in endless mode

pull/14/head
Flashfyre 2023-12-22 20:13:48 -05:00
parent 53fb56391b
commit dd89db29fd
1 changed files with 1 additions and 1 deletions

View File

@ -2366,7 +2366,7 @@ export class VictoryPhase extends PokemonPhase {
this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.GOLDEN_POKEBALL)); this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.GOLDEN_POKEBALL));
} }
if (this.scene.gameMode !== GameMode.CLASSIC && !(this.scene.currentBattle.waveIndex % 50)) { if (this.scene.gameMode !== GameMode.CLASSIC && !(this.scene.currentBattle.waveIndex % 50)) {
this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.VOUCHER)); this.scene.pushPhase(new ModifierRewardPhase(this.scene, !(this.scene.currentBattle.waveIndex % 250) ? modifierTypes.VOUCHER_PLUS : modifierTypes.VOUCHER));
this.scene.pushPhase(new AddEnemyBuffModifierPhase(this.scene)); this.scene.pushPhase(new AddEnemyBuffModifierPhase(this.scene));
} }
} }