From 4eed29d1d838fcfc0c42d34f7164d1a7a4af0470 Mon Sep 17 00:00:00 2001 From: InnocentGameDev Date: Sat, 17 Aug 2024 17:58:32 +0200 Subject: [PATCH] Expanded 'Weird Dream' banlist and fixed a bug with the BST bump range --- .../encounters/weird-dream-encounter.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/data/mystery-encounters/encounters/weird-dream-encounter.ts b/src/data/mystery-encounters/encounters/weird-dream-encounter.ts index d556a3b0c82..2f141566648 100644 --- a/src/data/mystery-encounters/encounters/weird-dream-encounter.ts +++ b/src/data/mystery-encounters/encounters/weird-dream-encounter.ts @@ -61,17 +61,20 @@ const excludedPokemon = [ Species.IRON_BOULDER, Species.IRON_CROWN, /** These are banned so they don't appear in the < 570 BST pool */ + Species.COSMOG, + Species.MELTAN, + Species.KUBFU, + Species.COSMOEM, + Species.POIPOLE, + Species.TERAPAGOS, + Species.TYPE_NULL, + Species.CALYREX, + Species.NAGANADEL, Species.URSHIFU, - Species.CUBCHOO, + Species.OGERPON, Species.OKIDOGI, Species.MUNKIDORI, Species.FEZANDIPITI, - Species.OGERPON, - Species.CALYREX, - Species.TYPE_NULL, - Species.TERAPAGOS, - Species.COSMOG, - Species.COSMOEM, ]; /** @@ -375,7 +378,7 @@ async function doNewTeamPostProcess(scene: BattleScene, transformations: Pokemon } // Any pokemon that is at or below 450 BST gets +20 permanent BST to 3 stats: HP, lowest of Atk/SpAtk, and lowest of Def/SpDef - if (newPokemon.getSpeciesForm().getBaseStatTotal() <= 600) { + if (newPokemon.getSpeciesForm().getBaseStatTotal() <= 450) { const stats: Stat[] = [Stat.HP]; const baseStats = newPokemon.getSpeciesForm().baseStats.slice(0); // Attack or SpAtk