mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-16 04:19:32 +02:00
Grant a plus voucher instead of a normal one for every 250th wave in endless mode
This commit is contained in:
parent
53fb56391b
commit
dd89db29fd
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user