Fix healing after every wave in endless mode

pull/2/head
Flashfyre 2023-10-26 19:07:41 -04:00
parent d3f55ad4ae
commit d4d6931512
1 changed files with 2 additions and 1 deletions

View File

@ -463,6 +463,7 @@ export class SelectBiomePhase extends BattlePhase {
const currentBiome = this.scene.arena.biomeType; const currentBiome = this.scene.arena.biomeType;
const setNextBiome = (nextBiome: Biome) => { const setNextBiome = (nextBiome: Biome) => {
if (!(this.scene.currentBattle.waveIndex % 10))
this.scene.unshiftPhase(new PartyHealPhase(this.scene, false)); this.scene.unshiftPhase(new PartyHealPhase(this.scene, false));
this.scene.unshiftPhase(new SwitchBiomePhase(this.scene, nextBiome)); this.scene.unshiftPhase(new SwitchBiomePhase(this.scene, nextBiome));
this.end(); this.end();