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

Added Psyblade and Hydro Steam #2834

Merged
merged 1 commit into from
Mar 17, 2023

Conversation

LOuroboros
Copy link
Collaborator

@LOuroboros LOuroboros commented Mar 16, 2023

Description

Closes #2832 and #2833.

Discord contact info

Lunos#4026

Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change, we need to discuss this

@LOuroboros
Copy link
Collaborator Author

This is a breaking change, we need to discuss this

Done discussing and done changing. Ready for re-review 👀

@Skeli789
Copy link

As it currently is, Hydro Steam is weakened under sunlight after its base power is boosted.

@LOuroboros
Copy link
Collaborator Author

As it currently is, Hydro Steam is weakened under sunlight after its base power is boosted.

Oh, I didn't realize Hydro Steam's effect boosted the move's power beyond nulling the sunlight's nerf. I'll address that. Thanks!

@LOuroboros
Copy link
Collaborator Author

Done. I also rebased because this doesn't feel like a contribution that should be split into so many commits.

Ready for re-re-review 👀

@AsparagusEduardo AsparagusEduardo merged commit 509da95 into rh-hideout:upcoming Mar 17, 2023
@LOuroboros LOuroboros deleted the hydroPsySteamBlade branch March 17, 2023 12:42
@@ -9586,7 +9590,7 @@ static u32 CalcFinalDmg(u32 dmg, u16 move, u8 battlerAtk, u8 battlerDef, u8 move
}
else if (IsBattlerWeatherAffected(battlerAtk, B_WEATHER_SUN))
{
if (moveType == TYPE_FIRE)
if (moveType == TYPE_FIRE || gBattleMoves[move].effect == EFFECT_HYDRO_STEAM)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check for Utility Umbrella is still missing. If the mon using Hydro Steam is holding one, then Hydro Steam's damage is halved, not doubled (see this post).
Most likely this was overlooked because two lines above the code is incorrect. It should be (IsBattlerWeatherAffected(battlerDef, B_WEATHER_SUN)), not (IsBattlerWeatherAffected(battlerAtk, B_WEATHER_SUN)).

Copy link
Collaborator

@AsparagusEduardo AsparagusEduardo Mar 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The check for the Utility Umbrella is in IsBattlerWeatherAffected. However, when the Utility Umbrella was implemented in the expansion, we all assumed that the defender's Umbrella didn't affect the attacker's damage multiplier, which Anubis states it does. As discussed in the Discord server, we'll add a new function specific for weather damage multipliers.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #2835

@AsparagusEduardo AsparagusEduardo mentioned this pull request Mar 17, 2023
This was referenced Mar 28, 2023
@AsparagusEduardo AsparagusEduardo mentioned this pull request May 31, 2023
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.

Hydro Steam
3 participants