move_none does not benefit from stab
This commit is contained in:
parent
6be8151981
commit
e1c57e4071
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue