* PP from ally moves is no longer infinite in PiC
* add deductpp to modded pokemon
* eep
* Refactor when start effects activate upon switching in.
* Add new effects for leppa berry consumption
* I forgot about these items ngl
* add some new support for moves
* Restrict Wandering Spirit, add extra failsafe
* fix things
* Last minute bugfix
* Update banlist
* start working on gen 9
* update nextturn
* a
* more stuff
* Update formats.ts
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Fix Glaive Rush resetting if used before foe attacks
* Remove duration check in onBeforeTurn
it can only ever be called the turn after Glaive Rush is used
* use better property name
* thought of a better one
* use proper accuracy event
* VGC/BSS: Update with Series 1
* lint
* Use Paldea Pokedex rule
* Add the other Tauros forms
* Correct Paldea dex bans
* Assume Paradox Pokemon are sublegendary
* Fix validation of moves unobtainable in Gen 9
* remove hyphen
* Update data/rulesets.ts
* Shorten unobtainable move rule name
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Move Gen 1 Counter tests into its own section
* Confusion damage, (h)jk recoil, and draining can be countered in gen 1
* Recoil and Drain round down in gen 1 (against substitute)
* Add tests for Counter + fix linting issue
* lastSelectedMove is updated when Mirror Move or Metronome calls another move
* Move pokemon.side.lastMove setting into a (more) correct location
* move pokemon.lastMove as well
* Remove unnecessary seed in test
* Re-Evolution mod now works with battle form changes
Re-evolution mod, /showevo and /reevo now check for the base species to not lose track of the pre-evolution after changing forms, /showevo now also shows the stats changes a battle form gives.
* Made previous reevo code conditional
While fixing battle form changes I forgot about regional forms of pre-evolved Pokémons like Meowth, now it only uses the new code if the current form has no unique pre-evolution.
* Fixing reevo code
Made the npm changes for the new code.
* just removed an empty line
* Update rulesets.ts
* Fixing /reevo comand
* Apply suggestions from code review
* Fixing Typo
* Update server/chat-plugins/othermetas.ts
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* The volatiles don't actually do anything
* Gen 1: implement stat down overflow glitch
* Change the wording of the hint slightly
* Add hint for division by zero avoidance