Burn affects physical moves only
This commit is contained in:
parent
2863045241
commit
34a7b8bf76
1 changed files with 2 additions and 1 deletions
|
@ -5771,7 +5771,8 @@ static u32 CalcFinalDmg(u32 dmg, u16 move, u8 battlerAtk, u8 battlerDef, u8 move
|
||||||
dmg = ApplyModifier(UQ_4_12(1.5), dmg);
|
dmg = ApplyModifier(UQ_4_12(1.5), dmg);
|
||||||
|
|
||||||
// check burn
|
// check burn
|
||||||
if (gBattleMons[battlerAtk].status1 & STATUS1_BURN && gBattleMoves[move].effect != EFFECT_FACADE && abilityAtk != ABILITY_GUTS)
|
if (gBattleMons[battlerAtk].status1 & STATUS1_BURN && IS_MOVE_PHYSICAL(move)
|
||||||
|
&& gBattleMoves[move].effect != EFFECT_FACADE && abilityAtk != ABILITY_GUTS)
|
||||||
dmg = ApplyModifier(UQ_4_12(0.5), dmg);
|
dmg = ApplyModifier(UQ_4_12(0.5), dmg);
|
||||||
|
|
||||||
// check sunny/rain weather
|
// check sunny/rain weather
|
||||||
|
|
Loading…
Reference in a new issue