Heatproof lowers burn dmg
This commit is contained in:
parent
cec9e177d6
commit
63621da46c
1 changed files with 2 additions and 0 deletions
|
@ -1520,6 +1520,8 @@ u8 DoBattlerEndTurnEffects(void)
|
||||||
&& ability != ABILITY_MAGIC_GUARD)
|
&& ability != ABILITY_MAGIC_GUARD)
|
||||||
{
|
{
|
||||||
gBattleMoveDamage = gBattleMons[gActiveBattler].maxHP / 8;
|
gBattleMoveDamage = gBattleMons[gActiveBattler].maxHP / 8;
|
||||||
|
if (ability == ABILITY_HEATPROOF)
|
||||||
|
gBattleMoveDamage /= 2;
|
||||||
if (gBattleMoveDamage == 0)
|
if (gBattleMoveDamage == 0)
|
||||||
gBattleMoveDamage = 1;
|
gBattleMoveDamage = 1;
|
||||||
BattleScriptExecute(BattleScript_BurnTurnDmg);
|
BattleScriptExecute(BattleScript_BurnTurnDmg);
|
||||||
|
|
Loading…
Reference in a new issue