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

Triple kick power calc rework #2141

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

Sneed69
Copy link

@Sneed69 Sneed69 commented May 14, 2022

Currently, moves that use EFFECT_TRIPLE_KICK deal too much damage. This can be fixed by just changing a "+=" to "=" in battle_util.c.
However, the battle script for this effect has some hard coded checks to find out what the base power of the move should be and utilizes a global when there is really no need to.
I decided to change it into a more flexible form that simply uses the move's base power and multiplies it based on the number of hits.

@Sneed69
Copy link
Author

Sneed69 commented May 14, 2022

I broke stuff

@Sneed69 Sneed69 closed this May 14, 2022
@Sneed69
Copy link
Author

Sneed69 commented May 14, 2022

Reverted the removal of tripleKickPower and instead renamed it to unused, at least until someone can figure out how to safely remove it.

@Sneed69 Sneed69 reopened this May 14, 2022
@Sneed69
Copy link
Author

Sneed69 commented May 14, 2022

Removed everything except the actual power calculation

@AsparagusEduardo AsparagusEduardo changed the base branch from battle_engine to master August 24, 2022 04:50
@AsparagusEduardo AsparagusEduardo changed the base branch from master to dev September 10, 2022 01:33
@AsparagusEduardo AsparagusEduardo added category: battle-mechanic Pertains to battle mechanics and removed category: battle-mechanic Pertains to battle mechanics labels Sep 16, 2022
@AsparagusEduardo AsparagusEduardo changed the base branch from dev to dev_1.x September 16, 2022 17:30
@ghoulslash ghoulslash merged commit 9164f03 into rh-hideout:upcoming Oct 7, 2022
@AsparagusEduardo AsparagusEduardo mentioned this pull request Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: battle-mechanic Pertains to battle mechanics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants