urkerab
5d714fbb56
Replace @ts-ignore with type assertions or other less unsafe constructs ( #7390 )
2020-09-19 02:07:48 -07:00
urkerab
90a94bc343
Improve spread damage return value check ( #7363 )
2020-09-14 17:04:08 -07:00
Kris Johnson
8656d633ac
Format volatiles consistently ( #7314 )
2020-09-05 08:12:24 -07:00
Mia
deeed6c789
Remove sim/ and data/'s globals ( #7091 )
2020-08-07 06:44:15 -07:00
Annika
05a9f9a1e5
Minor code quality improvements based on LGTM ( #7092 )
2020-07-30 14:24:37 -07:00
Guangcong Luo
4d09f7acde
Rename more instances of Effect to Condition
2020-07-26 11:26:23 -07:00
Guangcong Luo
2f805c93a2
Remove "Battle" prefix from data exports ( #7039 )
...
`BattlePokedex` is now `Pokedex`, `BattleItems` is now `Items`, etc.
I also renamed `Movedex` to `Moves` and `Statuses` to `Conditions`.
`TypeChart` isn't `Types` yet, because unlike the others, it's not
indexed by ID. That should probably be fixed one day.
2020-07-24 12:42:26 -07:00
Kris Johnson
00b88b521d
Handle Gigantamaxing properly ( #7001 )
2020-07-23 13:27:42 -07:00
Marty-D
d1e91acb6f
Fix Protean interaction with Sucker Punch
...
and other assorted things
2020-07-22 12:33:18 -04:00
Kris Johnson
25af31372f
Fix /dt interaction with Galar starters' Gmax moves ( #6994 )
2020-07-12 23:37:59 -07:00
Jacob McLemore
30e420204a
Fix Fusion Bolt + Fusion Flare interaction when first move fails ( #6991 )
2020-07-10 16:29:53 -07:00
The Immortal
4769823d25
Revert part of 0e0ad1f3d8
2020-06-29 00:02:34 +04:00
Kris Johnson
0e0ad1f3d8
Fix some National Dex mechanics ( #6914 )
2020-06-24 15:23:05 -07:00
Marty-D
263380ae03
Fix Gen 8 starters' G-Max Move powers
2020-06-22 18:16:04 -04:00
Marty-D
baed323713
Pass determined priority to Max Moves
2020-06-19 10:39:08 -04:00
Kris Johnson
4156eef05d
Fix various Isle of Armor DLC moves ( #6862 )
2020-06-18 00:25:26 -07:00
Mia
6839a1f4db
Add a library for utility functions ( #6817 )
2020-06-09 22:06:43 -07:00
urkerab
32d84a1d1a
Correctly attribute target with full HP ( #6807 )
2020-06-06 05:11:27 -07:00
HoeenHero
148570ddb5
Fix Emergency Exit Bug
...
Fixes 0450e8cb65
2020-05-27 10:11:04 -04:00
fart
0450e8cb65
Fix Life Orb + Emergency Exit interaction ( #6738 )
2020-05-25 14:14:59 -07:00
The Immortal
d085c30856
Fix Struggle recoil under Dynamax
2020-05-13 22:47:24 +04:00
Kirk Scheibelhut
2af7040270
Group zMove and maxMove attributes ( #6652 )
...
This mostly serves to provide cleaner and more consistent field
naming. maxMove currently doesn't have boosts or effects to group
together but who knows what will be thrown at us via DLC, and being
symmetrical with zMoves is a nice.
2020-05-04 20:21:27 -07:00
Guangcong Luo
e20a71206e
Fix Struggle recoil rounding in Gen 4
...
Thanks to DaWoblefet for finding this mechanic.
2020-05-03 16:56:37 -07:00
The Immortal
c40d9dfd99
Fix Struggle interaction with Dynamax
...
https://twitter.com/Sibuna_Switch/status/1256055062469607426?s=20
2020-05-04 01:00:59 +04:00
Guangcong Luo
e8e3493c40
Fix Struggle activation conditions
...
PS wasn't correctly detecting `disabled: 'hidden'` moves as disabled
for the purposes of detecting Struggle activation. This has been fixed.
Thanks to DaWoblefet for unit tests!
Fixes #6620
2020-04-26 17:52:06 -07:00
Guangcong Luo
549ef7edb1
Fix MoveData interface definition
...
For historical reasons, move property definitions have been very blurry
across `EffectData`. Fortunately, recent refactors have made it
possible to put them all where they're supposed to be.
2020-04-25 12:57:46 -07:00
urkerab
554cb570a7
Dancer should not activate if the holder fainted ( #6613 )
2020-04-25 09:55:13 -04:00
Kris Johnson
28bf388b98
Typescript data ( #6553 )
2020-04-23 09:16:09 -07:00