mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-31 13:17:21 +00:00
Fix healing after every wave in endless mode
This commit is contained in:
parent
d3f55ad4ae
commit
d4d6931512
@ -463,7 +463,8 @@ 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) => {
|
||||||
this.scene.unshiftPhase(new PartyHealPhase(this.scene, false));
|
if (!(this.scene.currentBattle.waveIndex % 10))
|
||||||
|
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();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user