NightKev
a0502fb0b5
[Refactor] Replaces the single and double battles overrides with a single override ( #3104 )
...
`SINGLE_BATTLE_OVERRIDE` and `DOUBLE_BATTLE_OVERRIDE` are now `BATTLE_TYPE`
Also updates all uses of the old overrides with the new one
2024-07-23 11:19:47 -04:00
innerthunder
1d39f8d638
[Bug] Fix Thousand Arrows not hitting targets under the effects of Magnet Rise ( #3100 )
...
* Fix Thousand Arrows not hitting through Magnet Rise
* Add integration test for Thousand Arrows vs. Magnet Rise
* ESLint
* Remove unnecessary checks in integration tests
2024-07-23 10:19:48 -04:00
Dmitriy K
2314d34907
[QoL] Create default overrides class and export that with custom overrides ( #2999 )
...
* Create default overrides class and export that with custom overrides
* add comment to mock import and replace typecast with type narrowing
* change modifier override type to pick keys from modifierTypes
2024-07-12 21:18:52 +01:00
innerthunder
905ecd6576
[Bug] Remove grounding moves' arbitrary turn limits ( #2526 )
...
* Remove grounding moves' arbitrary turn limits
* Added documentation for GroundedTag
* Rename GROUNDED tag + add tag check to isGrounded
* Fix remaining GROUNDED reference
* Clean up calls to getTag
2024-06-23 12:48:49 -04:00
innerthunder
86cc1018e3
[Bug] Fix Thousand Arrows not hitting Pokemon with Levitate ( #2493 )
2024-06-21 14:04:11 -04:00
innerthunder
7cad385a38
[Bug] Fix Thousand Arrows grounding opponents before use ( #2485 )
...
* Fix Thousand Arrows grounding opponents before use
* Use existing AddBattlerTag instead
2024-06-21 10:39:00 -04:00