Fix not healing after 10 battles

This commit is contained in:
Flashfyre committed 2023-10-26 19:45:35 -04:00
1 parent 634d93b989
commit c958c4f074
2 files changed
+2 -2

No files matched your search

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