Commit Graph

192 Commits

Author SHA1 Message Date
Karthik
108add8a44
Fix a bunch of Metronome quirks (#8769) 2022-05-12 18:45:51 -04:00
Karthik
42333b392b
Fix self-KO timing for Memento/Healing Wish/Lunar Dance (#8750) 2022-05-04 17:32:37 -04:00
Karthik
1e4f9d4284
Fix Pursuit activating on non-adjacent foes in Triples (#8738) 2022-04-29 20:29:28 -04:00
Leonard Craft III
e67281aa0f
Gen VIII: Implement Fly animation target leak (#8724) 2022-04-28 14:03:06 -05:00
Karthik
cfff8b85aa
Fix Focus Punch/Beak Blast/Shell Trap charge timing (#8733) 2022-04-25 16:35:36 -04:00
Alexander B
11acef88ad
Fix extraneous failure messages (#8727) 2022-04-24 19:26:09 -05:00
Karthik
d8edc4d71e
Fix Counter/Mirror Coat/Metal Burst failure timing (#8723) 2022-04-18 22:33:21 -05:00
Karthik
ab0e9b05e2
Fix failure checks for moves that fail with no switch-ins remaining (#8717) 2022-04-10 23:31:36 -05:00
Leonard Craft III
1bb3e75d17 Fix Rising Voltage's BP modifier and add hint 2022-03-26 21:23:03 -05:00
urkerab
3e3f7f95ce
Fix some ability interactions with OMs (#8695) 2022-03-20 14:04:12 -04:00
Karthik
2cbfac9b68
Fix Heal Bell/Aromatherapy in Multi Battles (#8671) 2022-02-21 14:22:52 -05:00
Leonard Craft III
73a206e1a3 Fix Jungle Healing behavior after #8596
Fixes https://www.smogon.com/forums/posts/9073960/. This will double Stomping Tantrum's base power when it shouldn't, but restores more important behavior.
2022-01-05 19:24:19 -06:00
Leonard Craft III
eb93b88875
Fix healing moves to use healing failure messages (#8596) 2022-01-03 17:26:07 -06:00
Leonard Craft III
4793b33cf1 Prevent Max Moves from being called by Sleep Talk 2021-12-29 17:06:53 -06:00
Leonard Craft III
f0f73f3132
Convert Max Guard to a whitelist (#8583) 2021-12-26 18:51:34 -06:00
Leonard Craft III
f63d24b07c Fix Fairy Lock and Plasma Fists messages 2021-12-26 18:41:49 -06:00
Leonard Craft III
8cd7bf6540 Fix build 2021-12-17 21:42:17 -06:00
Leonard Craft III
49a6d37d50 Fix interaction of Behemoth moves and Mimic
Thanks Anubis!
2021-12-17 21:38:08 -06:00
urkerab
736ffe1088
Repeated Smack Down should still cancel Fly and Bounce each time (#8540) 2021-11-22 21:51:16 -06:00
EvGym
5d8117302c
Refactor overriding stats used for damaging moves (#8373) 2021-11-08 13:48:26 -08:00
Kris Johnson
c80bacae45
Fix Torment duration from G-Max Meltdown (#8511)
* Fix Torment duration from G-Max Meltdown

* stuff
2021-11-04 01:08:52 -06:00
Leonard Craft III
10b0c72140 Gens 7-8: Correct allyanim flags 2021-10-30 14:33:52 -05:00
Marty-D
8ce7c82041 Revert "Fix Clangorous Soul's accuracy"
This reverts commit d34e21211f.
2021-10-10 22:20:59 -04:00
Kris Johnson
d34e21211f
Fix Clangorous Soul's accuracy 2021-10-10 20:01:11 -06:00
Leonard Craft III
355cb7d2db Fix Max Guard to block Whirlwind
Thanks Zaggyo!
2021-10-02 23:33:17 -05:00
Karthik
c0541c7747
Fix Powder revealing target of a failed fire move (#8468) 2021-09-11 16:57:08 -05:00
Karthik
d33bbfeba5
Use |-swapsideconditions| for Court Change (#8287) 2021-09-01 11:57:16 -04:00
pacmanboss256
23b35498f6
Rename the "mystery" and "authentic" move flags (#8445)
* mystery -> allyanim
* authentic -> bypasssub
2021-08-30 23:07:50 -07:00
pacmanboss256
f63ee3d3b7
Fix Water Shuriken interaction with Pokemon transformed into Ash-Greninja (#8444) 2021-08-23 21:43:57 -05:00
pacmanboss256
c2a5848768
Prevent Sparkling Aria from curing burns if the user faints (#8381) 2021-08-10 11:02:12 -04:00
Leonard Craft III
822fea7795 Add Dynamax Cannon to Encore and Mimic failure lists 2021-08-07 14:30:41 -05:00
Marty-D
00fd9ec54a
Fix Splintered Stormshards/Steel Roller interaction with substitutes 2021-07-12 18:06:34 -04:00
Karthik
094623f18b
Sky Drop: Fix message when target is fainted (#8334) 2021-05-26 14:51:52 -07:00
pacmanboss256
647ebd5fc6
Fix Counter redirecting Encored self-target moves (#8300) 2021-05-23 22:55:21 -07:00
Leonard Craft III
d946308900
Fix the order of many end-turn resolution effects (#8307)
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2021-05-17 11:53:52 -04:00
Leonard Craft III
50054ef5ae
Fix Struggle to be unaffected by Disable (#8315) 2021-05-17 07:18:26 -07:00
Leonard Craft III
4f7f943282 Fix more regressions from residual factor 2021-05-14 23:10:52 -05:00
Karthik
126430168c
Support separate Shell Side Arm physical/special anims (#8301) 2021-05-13 20:22:00 -07:00
Kris Johnson
77b7120b06
Update to Sw/Sh 1.3.2 mechanics (#8296) 2021-05-12 14:14:58 -04:00
pyuk-bot
37df679e73
FFA: Update Court Change mechanics (#8259) 2021-05-03 11:23:03 -04:00
pacmanboss256
c1996a3949
Fix Me First's interaction with recharge moves (#8258) 2021-05-01 20:53:13 -07:00
Leonard Craft III
615ee48e25
Fix Shell Side Arm information leak (#8233) 2021-04-25 20:21:50 -07:00
Marty-D
3d9698953a
Fix other regressions from residual refactor 2021-04-25 18:32:04 -04:00
pyuk-bot
fa974427ef
Migrate terrains from onTerrain to onResidual (#8232) 2021-04-25 13:00:37 -07:00
Guangcong Luo
f513c619b0 Fix bugs from Residual refactor 2021-04-25 12:14:03 -07:00
Guangcong Luo
f9fdc73133
Support per-pokemon Residual handlers in Side/Field conditions (#8222)
For side conditions, `onStart`/`onRestart`/`onResidual`/`onEnd`
have been renamed `onSideStart`/`onSideRestart`/`onSideResidual`/`onSideEnd`,
with the `onResidualOrder` properties renamed `onSideResidualOrder`.

For field conditions, `onStart`/`onRestart`/`onResidual`/`onEnd`
have been renamed `onFieldStart`/`onFieldRestart`/`onFieldResidual`/`onFieldEnd`,
with the `onResidualOrder` properties renamed `onFieldResidualOrder`.

(The `onField` and `onSide` part helps make it clear to the type system
that the first argument is a Field or Side, not a Pokemon.)

Side and field conditions can now use `onResidual` to tick separately
on each pokemon in Speed order. `onResidualOrder` (the per-pokemon
tick) can be timed separate from `onSideResidualOrder` (the
per-condition tick), allowing conditions to end at a different priority
than they tick per-pokemon.

Relatedly, `onTeamPreview` and `onStart` in formats now need to be
`onFieldTeamPreview` and `onFieldStart`.

Unrelatedly, `effectData` has been renamed `effectState`, and the
corresponding state containers (`pokemon.statusData`,
`pokemon.speciesData`, `pokemon.itemData`, `pokemon.abilityData`,
`field.weatherData`, `field.terrainData`) have been similarly renamed. I
renamed the types a while ago, but I was holding off renaming the fields
because it would be a breaking change. But this is a breaking change
anyway, so we might as well do it now.

Note: `onResidual` will tick even on `onSideEnd` turns, although
`onSideResidual` won't. When refactoring weather, remember to
check `this.state.duration` so you don't deal weather damage on the
ending turn.

Intended as a better fix for #8216
2021-04-25 10:55:54 -07:00
urkerab
9a18ada1f9
Grassy Terrain should only weaken moves against grounded targets (#8224) 2021-04-24 18:04:31 -05:00
pyuk-bot
3639079d1f
Protective Pads should not apply to Gulp Missile (#8207)
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2021-04-19 12:39:33 -04:00
Karthik
1d9b713951
Add fail text for Corrosive Gas (#8209) 2021-04-17 20:19:01 -05:00
Leonard Craft III
3c7b7b96f4
Add Plasma Fists hint (#8206) 2021-04-17 15:04:17 -07:00