-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Refactor/Bug]
Pokemon.leaveField()
, Fix Related Abilities (#5191)
* Added new AbAttr that triggers whenever a pokemon leaves the field * Use leaveField everywhere * Changing order for PreSwitchOutAbAttr * Don't clearEffects when catching in a mystery encounter * Attempts to make new overrides for testing * New options in overrides * Implemented tests for Desolate Land * Fixing instruct test to not read turnData of fainted mon * Removed post faint clear weather * Apply suggestions from code review Co-authored-by: NightKev <[email protected]> * Has_passive_ability override now turns off passives if set to "false", defaults to "null" * Updating overrides type definitions * Apply suggestions from code review Co-authored-by: NightKev <[email protected]> * Suggestions from review * Fixed strings in suggestions * Simplified function to throw balls in tests * Added tsdocs to overrideHelper.ts --------- Co-authored-by: NightKev <[email protected]>
- Loading branch information
Showing
15 changed files
with
286 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.