Commit Graph

1201 Commits

Author SHA1 Message Date
Hisuian Zoroark
58dcf59b9a
Update Partners in Crime to Gen 9 (#8987)
* 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>
2022-12-05 16:02:58 -07:00
Annika
ce201bb761 Gen IX: Add Challenge Cup formats 2022-12-04 16:21:23 -08:00
pyuk-bot
7a6a8441cc
Fix Protosynthesis/Quark Drive/Booster Energy (#9118) 2022-12-04 16:20:21 -05:00
pyuk-bot
4d324e19fc
NatDex: Really fix unobtainable move validation (#9103) 2022-12-04 16:18:12 -05:00
Annika
5df18fa91c
Update ExhaustiveRunner for Gen 9 (#9119) 2022-12-04 12:19:31 -08:00
kittenchilly
30c41dcfbf
Fix Last Respects and Supreme Overlord (#9111) 2022-12-04 12:46:28 -05:00
Kris Johnson
90a740aa21 Add "Paradox" species tag 2022-12-03 00:14:04 -07:00
Kris Johnson
3e16498b40 Fix typo in comment 2022-12-03 00:07:42 -07:00
Kris Johnson
e672e44941 Moves: Make hasSheerForce usable in move data 2022-12-03 00:05:09 -07:00
Karthik
3e97e94315
Remove Terastallization on faint (#9115) 2022-12-02 23:49:02 -07:00
Hisuian Zoroark
ce523c3b22
Revival Blessing: Fix bugs (#9104) 2022-12-01 23:03:03 -05:00
Hisuian Zoroark
ae85e4d017
Implement Revival Blessing (#9035) 2022-12-01 15:33:23 -05:00
pyuk-bot
1a6668b3b0
Fix unobtainable move validation (#9096)
* 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>
2022-11-30 23:08:08 -07:00
livid washed
6cc75a6f88
Gen 1: Fix some more Counter inaccuracies (#9091)
* 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
2022-11-30 13:14:03 -08:00
Karthik
912aedb326
Use MoveFlags interface for MoveData#flags (#9090) 2022-11-29 20:56:32 -06:00
pyuk-bot
514d2e1031
Allow event Pokemon with egg moves in gen 9 (#9084) 2022-11-29 13:29:09 -05:00
Karthik
08e1601d7e
Fix Protosynthesis/Quark Drive (#9082) 2022-11-29 13:28:33 -05:00
pyuk-bot
ba920c135d
Update Ability Shield with new research (#9081) 2022-11-29 13:27:39 -05:00
Alexander B
8fc3597326
Refactor self-disabling moves (#9072) 2022-11-26 22:26:04 -05:00
Karthik
a262555017
Fix types sent when a Terastallized Pokemon switches in (#9059) 2022-11-25 17:13:20 -05:00
Alexander B
bcfbfcf199
Fix Dream World move exclusivity (#9057) 2022-11-25 17:10:15 -05:00
Alexander B
0b929d83f9
Fix Flying Tera Type Pokemon using Roost (#9049) 2022-11-25 17:09:54 -05:00
cooshaug
57f876203f
Fix Rage Fist bugs (#9037) 2022-11-25 12:28:15 -06:00
Alexander B
1ae25f7b9d
Gen 2: Fix traded-back events for Gen 2 evos (#9055) 2022-11-24 13:37:40 -06:00
Karthik
20c0dffdd2
Properly implement Gigaton Hammer disabling (#9050) 2022-11-24 13:36:41 -06:00
Alexander B
b19d574742
Fix Transform copying Terastallization (#9047) 2022-11-24 13:07:14 -06:00
Kris Johnson
696fa61e6e Pokemon with Hisui evolutions get the Eviolite boost 2022-11-23 22:28:21 -07:00
Kris Johnson
9a412789e5 Don't add an empty arg on switches 2022-11-23 19:50:12 -07:00
Karthik
093d832840
Fix sourceEffect for switches not getting passed to user (#9038) 2022-11-23 13:42:58 -05:00
pyuk-bot
8a84d0b2f0
Fix Terastal's interaction with type/forme changes (#9031) 2022-11-23 13:41:37 -05:00
pyuk-bot
ee9677b0b6
Mycelium Might makes called moves ignore abilities (#9028) 2022-11-23 13:39:51 -05:00
te
8e0e374940
Correct Max Move dex generation (#9027) 2022-11-23 13:39:20 -05:00
Karthik
6c36a83f10
Implement new Ability Patch mechanic (#9025) 2022-11-21 11:26:03 -05:00
Karthik
625ebcf6b0
Use -copyboost for Costar (#9024) 2022-11-21 11:25:48 -05:00
Karthik
a9b9f7820c
Fix various Ability related issues (#9020)
* Fix various Ability related issues

* Silently end Protosynthesis/Quark Drive
2022-11-20 12:17:26 -07:00
Kris Johnson
fd7155841c
Fix various forme and move legality (#9013) 2022-11-18 22:17:09 -08:00
livid washed
56fa3a693e
Gen 1: Fix Wrap interaction with residual damage KOs (#9007)
* Gen 1: Fix Wrap interaction with residual damage KOs

* Remove an unnecessary move from trapmoves test
2022-11-18 20:06:11 -08:00
Alexander B
9c90370758
Fix STAB while Terastallized (#9011) 2022-11-18 22:09:11 -05:00
Eve
c5aa866f19
Fix Terastal multiplier again (#9005)
* Fix terastal multiplier

ensures 2x terastab requires move type to match tera type

* Update battle-actions.ts

* Update sim/battle-actions.ts

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2022-11-18 05:39:20 -07:00
Kris Johnson
1e10dac033 Fix Terastal modifier 2022-11-18 05:25:19 -07:00
Kris Johnson
96fd944a4d Fix Tera Type boost 2022-11-17 22:28:28 -07:00
Kris Johnson
36c5ca6493 Prevent Revival Blessing from being used 2022-11-17 20:00:36 -07:00
Kris Johnson
853ae06e47
Don't show Terastallize button prior to gen 9 (#8998) 2022-11-17 21:29:06 -05:00
Kris Johnson
d50c8c249b
Add Gen 9 (#8997) 2022-11-17 20:46:29 -05:00
Mia
8bdebea6e4 Fix eslint errors 2022-11-17 16:18:39 -06:00
livid washed
b64d085b18
Gen 1: Fix simultaneous Counters so that they both fail (#8974) 2022-11-08 15:19:01 -08:00
Karthik
6757ec9eff
Validator: Correctly enforce per-game evolution restrictions (#8968) 2022-11-06 21:03:17 -06:00
Annika
3eda79ccb2 Remove unnecessary RNG roll for targeting
This should make singles battles faster and more accurate
2022-11-04 17:03:16 -07:00
Karthik
f879681cb4
Gen 8: Fix events with HA and oldgen tutor moves being illegal (#8962) 2022-10-31 16:57:57 -05:00
Karthik
5ba26bedc5
Fix events having access to past-gen exclusive moves (#8951) 2022-10-30 18:20:31 -05:00