EXP Charm balancing for endless mode

This commit is contained in:
Flashfyre 2023-12-01 08:57:10 -05:00
parent 0177c86c11
commit f3ed8e925e
1 changed files with 5 additions and 3 deletions

View File

@ -2269,9 +2269,11 @@ 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 + (this.scene.gameMode !== GameMode.CLASSIC ? 20 : 0)) % 30 ? modifierTypes.EXP_CHARM : modifierTypes.SUPER_EXP_CHARM));
if (this.scene.currentBattle.waveIndex <= 750 && (this.scene.currentBattle.waveIndex <= 500 || !(this.scene.currentBattle.waveIndex % 30))) {
this.scene.pushPhase(new ModifierRewardPhase(this.scene, ((this.scene.currentBattle.waveIndex + (this.scene.gameMode !== GameMode.CLASSIC ? 20 : 0)) % 30) || this.scene.currentBattle.waveIndex >= 250 ? modifierTypes.EXP_CHARM : modifierTypes.SUPER_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))
this.scene.pushPhase(new AddEnemyBuffModifierPhase(this.scene));
}