mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-16 17:27:41 +00:00
Offset EXP charms in endless modes
This commit is contained in:
parent
1d31105de5
commit
58b6ecd2bf
@ -2258,7 +2258,7 @@ export class VictoryPhase extends PokemonPhase {
|
||||
if (this.scene.currentBattle.waveIndex % 10)
|
||||
this.scene.pushPhase(new SelectModifierPhase(this.scene));
|
||||
else {
|
||||
this.scene.pushPhase(new ModifierRewardPhase(this.scene, this.scene.currentBattle.waveIndex % 30 ? modifierTypes.EXP_CHARM : modifierTypes.GOLDEN_EXP_CHARM));
|
||||
this.scene.pushPhase(new ModifierRewardPhase(this.scene, (this.scene.currentBattle.waveIndex + (this.scene.gameMode !== GameMode.CLASSIC ? 20 : 0)) % 30 ? modifierTypes.EXP_CHARM : modifierTypes.GOLDEN_EXP_CHARM));
|
||||
if (this.scene.currentBattle.waveIndex <= 150 && !(this.scene.currentBattle.waveIndex % 50))
|
||||
this.scene.pushPhase(new ModifierRewardPhase(this.scene, modifierTypes.GOLDEN_POKEBALL));
|
||||
if (this.scene.gameMode !== GameMode.CLASSIC && !(this.scene.currentBattle.waveIndex % 50))
|
||||
|
Loading…
x
Reference in New Issue
Block a user