Add damage calc for plates
This commit is contained in:
parent
d2566c8988
commit
7ea34968f9
1 changed files with 4 additions and 0 deletions
|
@ -6719,6 +6719,10 @@ static u32 CalcMoveBasePowerAfterModifiers(u16 move, u8 battlerAtk, u8 battlerDe
|
|||
}
|
||||
}
|
||||
break;
|
||||
case HOLD_EFFECT_PLATE:
|
||||
if (moveType == ItemId_GetSecondaryId(gBattleMons[battlerAtk].item))
|
||||
MulModifier(&modifier, holdEffectModifier);
|
||||
break;
|
||||
}
|
||||
|
||||
// move effect
|
||||
|
|
Loading…
Reference in a new issue