Merge pull request #149 from AsdarDevelops/Asdar

Expanded 'Weird Dream' banlist and fixed a bug with the BST bump range
This commit is contained in:
ImperialSympathizer 2024-08-19 10:54:50 -04:00 committed by GitHub
commit ada1c94c27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 8 deletions

View File

@ -61,17 +61,20 @@ const excludedPokemon = [
Species.IRON_BOULDER, Species.IRON_BOULDER,
Species.IRON_CROWN, Species.IRON_CROWN,
/** These are banned so they don't appear in the < 570 BST pool */ /** 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.URSHIFU,
Species.CUBCHOO, Species.OGERPON,
Species.OKIDOGI, Species.OKIDOGI,
Species.MUNKIDORI, Species.MUNKIDORI,
Species.FEZANDIPITI, 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 // 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 stats: Stat[] = [Stat.HP];
const baseStats = newPokemon.getSpeciesForm().baseStats.slice(0); const baseStats = newPokemon.getSpeciesForm().baseStats.slice(0);
// Attack or SpAtk // Attack or SpAtk