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 abilities that raise target's stat after hit #2427

Merged

Conversation

BuffelSaft
Copy link
Collaborator

Fix Justified, Berserk, Rattled, Stamina and Water Compaction printing the wrong message when they activate. Steam Engine was also updated to follow the gen 5+ ability activation method style.

Description

All of these abilities were broken when Steam Engine was added, as they all share the same battle script. This means they were all saying that the mon's stat rose drastically, when it actually rose by one or two stages depending on the ability.

This PR fixes that, and makes these abilities use the generic "mon's stat rose!" string like they do in official games.

Fix Justified, Berserk, Rattled, Stamina and Water Compaction printing the wrong message when they activate. Steam Engine was also updated to follow the gen 5+ ability activation method style.
@BuffelSaft BuffelSaft added bug Bug category: battle-mechanic Pertains to battle mechanics labels Nov 3, 2022
@AsparagusEduardo AsparagusEduardo merged commit 9ea3ad8 into rh-hideout:upcoming Nov 3, 2022
@AsparagusEduardo AsparagusEduardo mentioned this pull request Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug category: battle-mechanic Pertains to battle mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants