exclude status move type check
This commit is contained in:
parent
1e1686b69a
commit
fc5c93fd83
1 changed files with 10 additions and 1 deletions
|
@ -802,7 +802,16 @@ s32 AI_CalcDamage(u16 move, u8 battlerAtk, u8 battlerDef, u8 *typeEffectiveness,
|
|||
}
|
||||
else
|
||||
{
|
||||
effectivenessMultiplier = CalcTypeEffectivenessMultiplier(move, moveType, battlerAtk, battlerDef, FALSE);
|
||||
#if B_GLARE_GHOST == GEN_3
|
||||
else if (move == MOVE_GLARE || move == MOVE_THUNDER_WAVE)
|
||||
effectivenessMultiplier = CalcTypeEffectivenessMultiplier(move, moveType, battlerAtk, battlerDef, FALSE);
|
||||
else
|
||||
# endif
|
||||
if (move == MOVE_THUNDER_WAVE)
|
||||
effectivenessMultiplier = CalcTypeEffectivenessMultiplier(move, moveType, battlerAtk, battlerDef, FALSE);
|
||||
else
|
||||
effectivenessMultiplier = UQ_4_12(1.0);
|
||||
|
||||
dmg = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue