Skip to content

Commit

Permalink
Tweak client for DLC (#2148)
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisXV authored Sep 14, 2023
1 parent ed7359f commit c8f9666
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 @@ -1173,7 +1173,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 c8f9666

Please sign in to comment.