Add new mountain background
This commit is contained in:
1 parent
85c2ca718a
commit
2dd3c273ab
9 files changed
+3
-2
No files matched your search
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user