mirror of
https://github.com/pret/pokeemerald.git
synced 2026-10-02 06:47:52 -05:00
move_none does not benefit from stab
This commit is contained in:
@@ -8941,7 +8941,7 @@ static u32 CalcFinalDmg(u32 dmg, u16 move, u8 battlerAtk, u8 battlerDef, u8 move
|
||||
}
|
||||
|
||||
// check stab
|
||||
if (IS_BATTLER_OF_TYPE(battlerAtk, moveType) && move != MOVE_STRUGGLE)
|
||||
if (IS_BATTLER_OF_TYPE(battlerAtk, moveType) && move != MOVE_STRUGGLE && move != MOVE_NONE)
|
||||
{
|
||||
if (abilityAtk == ABILITY_ADAPTABILITY)
|
||||
MulModifier(&finalModifier, UQ_4_12(2.0));
|
||||
|
||||
Reference in New Issue
Block a user