mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 20:17:38 +01:00
Fix Parental Bond Super Fang
Min damage should be 2
This commit is contained in:
parent
4faa077641
commit
8af882348a
@ -796,7 +796,7 @@ s32 AI_CalcDamage(u16 move, u8 battlerAtk, u8 battlerDef)
|
|||||||
dmg = 0;
|
dmg = 0;
|
||||||
// Two hits of Super Fang halves HP twice, leaving target with 25% HP
|
// Two hits of Super Fang halves HP twice, leaving target with 25% HP
|
||||||
else if (AI_DATA->atkAbility == ABILITY_PARENTAL_BOND)
|
else if (AI_DATA->atkAbility == ABILITY_PARENTAL_BOND)
|
||||||
dmg = max(1, gBattleMons[battlerDef].hp * 3 / 4);
|
dmg = max(2, gBattleMons[battlerDef].hp * 3 / 4);
|
||||||
else
|
else
|
||||||
dmg = max(1, gBattleMons[battlerDef].hp / 2);
|
dmg = max(1, gBattleMons[battlerDef].hp / 2);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user