pokerogue
pokerogue copied to clipboard
[Move] Implement Safeguard
What are the changes?
Implements the move Safeguard.
Why am I doing these changes?
Implement more moves.
What did change?
Creates an ArenaTag
used to implement the effects of Safeguard. Checks for the ArenaTag
are implemented in ConfuseAttr
and canSetStatus()
.
How to test the changes?
npm run test safeguard
Checklist
- [x] I'm using
beta
as my base branch - [ ] There is no overlap with another PR?
- Updated version of #3108
- [x] The PR is self-contained and cannot be split into smaller PRs?
- [x] Have I provided a clear explanation of the changes?
- [x] Have I considered writing automated tests for the issue?
- [x] Have I tested the changes (manually)?
- [x] Are all unit tests still passing? (
npm run test
)
- [x] Are all unit tests still passing? (
- ~[ ] Are the changes visual?~
- ~[ ] Have I provided screenshots/videos of the changes?~