Implemented Guts' missing effect
This commit is contained in:
parent
fb8a6b408f
commit
9c6a5f1ab6
1 changed files with 4 additions and 0 deletions
|
@ -6922,6 +6922,10 @@ static u32 CalcAttackStat(u16 move, u8 battlerAtk, u8 battlerDef, u8 moveType, b
|
|||
if (gDisableStructs[battlerDef].isFirstTurn == 2) // just switched in
|
||||
MulModifier(&modifier, UQ_4_12(2.0));
|
||||
break;
|
||||
case ABILITY_GUTS:
|
||||
if (gBattleMons[battlerAtk].status1 & STATUS1_ANY && IS_MOVE_PHYSICAL(move))
|
||||
MulModifier(&modifier, UQ_4_12(1.5));
|
||||
break;
|
||||
}
|
||||
|
||||
// target's abilities
|
||||
|
|
Loading…
Reference in a new issue