innerthunder
a6a61b2984
[Move] Implement Shed Tail ( #4382 )
...
* Implement Shed Tail
* Fix leftover batonPass reference in docs
* Fix ChillyReceptionAttr
* oops
* Remove unneeded default arg in ReturnPhase
* Fix imports per Kev's suggestions
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Docs and Shed Tail on-add message
* Remove mixin attribute
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Update battler-tags.json
* Fix indents
* More nit fixes
* Make Switch[Summon]Phase params readonly
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-25 17:17:46 -07:00
innerthunder
70295280da
[Move] Implement Substitute ( #2559 )
...
* Implement Substitute
Squashed commit from working branch
* Fix integration test imports
* Use Override Helper utils + Fix Baton Pass test
* Update src/test/moves/substitute.test.ts
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
* Fix test imports + nits
* Document RemoveAllSubstitutesAttr
* Fix some strict-null issues
* more strict-null fixes
* Fix baton pass test
* Reorganized Substitute translation keys
* Added checks for substitute in contact logic
* Clean up Unseen Fist contact logic
* Remove misleading comment in Download attr
* RIP phases.ts
* Fix imports post-phase migration
* Rewrite `move.canIgnoreSubstitute` to `move.hitsSubstitute`
* Also fixed interactions with Shell Trap and Beak Blast
* Removed some leftover `canIgnoreSubstitute`s
* fix issues after beta merge
* Status move effectiveness now accounts for substitute
* More edge case tests (Counter test failing)
* Fix Counter + Trap edge cases + add Fail messagesd
* Fix leftover nit
* Resolve leftover test issues
* Fix Sub offset carrying over to Trainer fights
* Hide substitute sprite during catch attempts
* Make substitutes baton-passable again
* Remove placeholder locale keys and SPLASH_ONLY
* Fix imports and other nits
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* ESLint
* Fix imports
* Fix incorrect `resetSprite` timing
* Fix substitute disappearing on hit (maybe?)
* More animation fixes (mostly for Roar)
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-13 12:46:22 -04:00
flx-sta
2bd07cb84e
fix and optimize imports ( #4061 )
...
- remove any `.js` extension imports
- remove unncessary dynamic imports of `modifier.ts` file. The file was being imported statically & dynamically. Made it pure static
- increase vite chunk-size warning limit
Co-authored-by: Mumble <171087428+frutescens@users.noreply.github.com>
2024-09-07 21:37:37 -07:00
Frederico Santos
ae2ab120dc
Deleted phases.ts ( #3618 )
2024-08-19 03:23:52 +01:00