Skip to content

Commit

Permalink
Modernise Shed Skin BluRosie#340
Browse files Browse the repository at this point in the history
  • Loading branch information
Aeliko committed Oct 22, 2024
1 parent 58e4169 commit d407054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/individual/ServerFieldConditionCheck.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void ServerFieldConditionCheck(void *bw, struct BattleStruct *sp) {
if ((GetBattlerAbility(sp, battlerId) == ABILITY_SHED_SKIN
&& sp->battlemon[battlerId].condition & STATUS_ANY_PERSISTENT
&& sp->battlemon[battlerId].hp
&& (BattleRand(bw) % 10 < 3)) // 30% chance
&& (BattleRand(bw) % 3 == 0)) // Generation V onward: Shed Skin has a 1/3 chance of curing the Pokémon.
|| (GetBattlerAbility(sp, battlerId) == ABILITY_HYDRATION
&& sp->field_condition & WEATHER_RAIN_ANY
&& sp->battlemon[battlerId].hp
Expand Down

0 comments on commit d407054

Please sign in to comment.