mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-07 18:45:59 -05:00
Add damage calc for plates
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user