Skip to content

Commit

Permalink
Tweak client for DLC (smogon#2148)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV authored and MathyFurret committed Mar 25, 2024
1 parent f2f1fa1 commit faa0bdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build-tools/build-indexes
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
if (
[
'Aegislash', 'Castform', 'Cherrim', 'Cramorant', 'Eiscue', 'Meloetta', 'Mimikyu', 'Minior', 'Morpeko', 'Wishiwashi',
].includes(species.baseSpecies) || species.forme.includes('Totem') || species.forme.includes('Zen')
].includes(species.baseSpecies) || species.forme.includes('Totem') || species.forme.includes('Zen') ||
(species.baseSpecies === 'Ogerpon' && species.forme.includes('Tera'))
) {
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/battle-tooltips.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ class BattleTooltips {
// Pokemon with Hisui evolutions
evoSpecies.isNonstandard === "Unobtainable";
});
if (item === 'eviolite' && isNFE) {
if (item === 'eviolite' && (isNFE || this.battle.dex.species.get(serverPokemon.speciesForme).id === 'dipplin')) {
stats.def = Math.floor(stats.def * 1.5);
stats.spd = Math.floor(stats.spd * 1.5);
}
Expand Down

0 comments on commit faa0bdc

Please sign in to comment.