[Move][P2] Fix Pollen Puff interactions when targeting an ally #864
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What are the changes the user will see?
Why am I making these changes?
fixes #838
What are the changes from a developer perspective?
HealOnAllyAttr
now stops in-progress multi-hit moves when it successfully applies.stopMultiHit
method toPokemon
that resets the Pokemon's turn data to stop the execution of multi-hit moves. This is now used in other edge cases where turn data needs to be reset.isAttackMove
,isStatusMove
, andisSelfStatusMove
now optionally take the user and target into account. With this option, Grip Claw now takes variable move category into account when determining if a move can steal items.Screenshots/Videos
Pollen Puff/Parental Bond
Poketernity.-.Google.Chrome.2025-03-21.03-11-36.mp4
Overrides:
How to test the changes?
Checklist
main
(such as a hotfix), has the game version been updated (npm run update-version:patch
/npm run update version:minor
?beta
as my base branchnpm run test:silent
)npm run test:create
) or updated existing tests related to the PR's changes?