-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add calculation boosts for Light Ball and Sandstorm #3387
Add calculation boosts for Light Ball and Sandstorm #3387
Conversation
I have some issues with the description of that commit you just pushed.
It's not false. The fact is that there is a split in Gen. 3, it's just type based instead of move based, but it's still a separation of categories for moves regardless.
There is no need for that to have a PSS related check. The Choice Band boosts the Attack stat specifically. Its check is a few lines above the Light Ball's in the vanilla codebase, which I linked for you to see in one of my review comments. If you could just |
By the way, don't force-push if it's not necessary. It makes it harder to review new changes. |
I'm assuming a test needs to be updated for // snow def boost for ice types
if (IS_BATTLER_OF_TYPE(battlerDef, TYPE_ICE) && IsBattlerWeatherAffected(battlerDef, B_WEATHER_SNOW) && usesDefStat)
``` |
Looks good, I forgot to say to point this to |
In Gen 4+, Light Ball multiplies the base power of physical moves by 2, and Sandstorm multiplies the Special Defense of Rock types by 1.5. Added constants to be able to reverse these effects in the damage calc.
Description
Relevant Issues
Part of the overall concept of #1401
Discord contact info
yakattack_