From 467049dfa036cff3ac697419b4dfe89d1f46fdf1 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 5 Nov 2023 20:34:32 -0500 Subject: [PATCH] Add increasing chance of a boss on any wave in endless after wave 250 --- src/arena.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arena.ts b/src/arena.ts index 792f2569bf4..9828186b92f 100644 --- a/src/arena.ts +++ b/src/arena.ts @@ -32,7 +32,7 @@ export class Arena { } randomSpecies(waveIndex: integer, level: integer, attempt?: integer): PokemonSpecies { - const isBoss = waveIndex % 10 === 0 && !!this.pokemonPool[BiomePoolTier.BOSS].length + const isBoss = (waveIndex % 10 === 0 || (this.scene.gameMode !== GameMode.CLASSIC && Utils.randSeedInt(100) < Math.min(Math.max(Math.ceil((waveIndex - 250) / 50), 0) * 2, 30))) && !!this.pokemonPool[BiomePoolTier.BOSS].length && (this.biomeType !== Biome.END || this.scene.gameMode === GameMode.CLASSIC || waveIndex % 250 === 0); const tierValue = Utils.randSeedInt(!isBoss ? 512 : 64); let tier = !isBoss