Add new mountain background

This commit is contained in:
Flashfyre committed 2023-05-30 09:46:42 -04:00
1 parent 85c2ca718a
commit 2dd3c273ab
9 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -242,7 +242,7 @@ export class EncounterPhase extends BattlePhase {
doEncounter() {
if (startingWave > 10) {
for (let m = 0; m < Math.floor(startingWave / 10); m++)
for (let m = 0; m < Math.min(Math.floor(startingWave / 10), 99); m++)
this.scene.addModifier(getPlayerModifierTypeOptionsForWave((m + 1) * 10, 1, this.scene.getParty())[0].type.newModifier());
}