Crits and Confusion bypass screens
This commit is contained in:
parent
294fecd57c
commit
05699884d5
1 changed files with 2 additions and 1 deletions
|
@ -8609,7 +8609,8 @@ static u32 CalcFinalDmg(u32 dmg, u16 move, u8 battlerAtk, u8 battlerDef, u8 move
|
|||
if (((gSideStatuses[defSide] & SIDE_STATUS_REFLECT && IS_MOVE_PHYSICAL(move))
|
||||
|| (gSideStatuses[defSide] & SIDE_STATUS_LIGHTSCREEN && IS_MOVE_SPECIAL(move))
|
||||
|| (gSideStatuses[defSide] & SIDE_STATUS_AURORA_VEIL))
|
||||
&& abilityAtk != ABILITY_INFILTRATOR)
|
||||
&& abilityAtk != ABILITY_INFILTRATOR && !(isCrit)
|
||||
&& !gProtectStructs[gBattlerAttacker].confusionSelfDmg)
|
||||
{
|
||||
if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE)
|
||||
MulModifier(&finalModifier, UQ_4_12(0.66));
|
||||
|
|
Loading…
Reference in a new issue