Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mold Breaker-like abilities, AI Move Accuracy function, Fury Cutter with Parental Bond #5030

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

PhallenTree
Copy link

@PhallenTree PhallenTree commented Jul 24, 2024

Fixes GetBattlerAbility potentially checking the wrong battler's action in doubles, causing Mold Breaker-like abilities to not ignore the target's ability.

Fixes AI_SetMoveAccuracy using battlerAtk's ability as abilityDef.

Fixes Fury Cutter counter getting incremented on the second hit of Parental Bond instead of the first.
Adds a test for this.

Issue(s) that this PR fixes

Fixes #5019, fixes #4956

Discord contact info

PhallenTree

@PhallenTree PhallenTree changed the title Fix Mold Breaker-like abilities; AI Move Accuracy function; Fury Cutter with Parental Bond Fix Mold Breaker-like abilities, AI Move Accuracy function, Fury Cutter with Parental Bond Jul 24, 2024
@AlexOn1ine AlexOn1ine merged commit 7b2914c into rh-hideout:master Jul 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI_SetMoveAccuracy wrong defender ability Fury Cutter/Parental Bond interaction may be broken
2 participants