Skip to content

Commit

Permalink
Fix Mimikyu forme regression
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebastosdias committed Feb 11, 2025
1 parent 75ee365 commit 0a84dab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ export const Abilities: import('../sim/dex-abilities').AbilityDataTable = {
if (['mimikyu', 'mimikyutotem'].includes(pokemon.species.id) && this.effectState.busted) {
const speciesid = pokemon.species.id === 'mimikyutotem' ? 'Mimikyu-Busted-Totem' : 'Mimikyu-Busted';
pokemon.formeChange(speciesid, this.effect, true);
pokemon.regressionForme = false;
this.damage(pokemon.baseMaxhp / 8, pokemon, pokemon, this.dex.species.get(speciesid));
}
},
Expand Down
1 change: 1 addition & 0 deletions data/mods/gen7/abilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTa
if (['mimikyu', 'mimikyutotem'].includes(pokemon.species.id) && this.effectState.busted) {
const speciesid = pokemon.species.id === 'mimikyutotem' ? 'Mimikyu-Busted-Totem' : 'Mimikyu-Busted';
pokemon.formeChange(speciesid, this.effect, true);
pokemon.regressionForme = false;
}
},
},
Expand Down

0 comments on commit 0a84dab

Please sign in to comment.