mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-21 06:37:09 -05:00
* Megas for All: Fix three abilities This changes Blackmail primarily just to be more realistic, but there are also more important bugfixes to Forgery and Masquerade. The previous version of Masquerade would activate the acquired Ability twice if, as in the case of Intimidate, it was supposed to activate on entry. This is because the Ability was replaced while the Pokémon was still starting, so it activated once when it was acquired (as it would by Skill Swap) and again as the Pokémon was still "entering." This fix makes it so such Abilities only activate once; it's also much neater and easier to edit than the messy version I had before. The previous version of Forgery had problems whenever the Pokémon's item was consumed at the same time it was hit with a move; it would replace its item with Zoroarkite, then consume the Zoroarkite and be itemless, which in turn left it unable to activate the Ability. I fixed this by making it acquire the item later on (after it would be consumed), and I also made the Ability itself check for a specific species instead of a specific item at the start, so it should still function in case Zoroarkite is ever not properly replaced (though it's also way more consistent at that now than before). Let me know if there's anything else I should change about these! After testing, I think they work a lot better now than before, though. C: * Megas for All: fix Unaware The custom Ability Body of Water can give the effect of Body Press to special moves, so Unaware needs to ignore an attacker's Special Defense boosts when being attacked. * Update data/mods/megasforall/abilities.ts Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> * Update data/mods/megasforall/abilities.ts Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> * Update abilities.ts * Megas for All: Add slate 29 abilities * Megas for All: Add slate 29 stones * Megas for All: Add slate 29 forms (That's a lot of fish) * Megas for All: Add slate 29 moves and keep Alolan Dugtrio incompatible with Dugtrionite * Megas for All: Shorten overlong line * Apply suggestions from code review Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> * Correct variable name after code review Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| mods | ||
| text | ||
| abilities.ts | ||
| aliases.ts | ||
| bss-factory-sets.json | ||
| cap-1v1-sets.json | ||
| conditions.ts | ||
| formats-data.ts | ||
| FORMES.md | ||
| items.ts | ||
| learnsets.ts | ||
| moves.ts | ||
| natures.ts | ||
| pokedex.ts | ||
| random-teams.ts | ||
| rulesets.ts | ||
| scripts.ts | ||
| tags.ts | ||
| typechart.ts | ||