Made the opponent's self damage induced by the confusion status affect Assurance's power (#313)

This commit is contained in:
LOuroboros 2020-04-11 07:18:45 -03:00 committed by GitHub
parent 6daab7a5c9
commit 3a202ea850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5270,7 +5270,7 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
basePower *= 2;
break;
case EFFECT_ASSURANCE:
if (gProtectStructs[battlerAtk].physicalDmg != 0 || gProtectStructs[battlerAtk].specialDmg != 0)
if (gProtectStructs[battlerAtk].physicalDmg != 0 || gProtectStructs[battlerAtk].specialDmg != 0 || gProtectStructs[battlerDef].confusionSelfDmg != 0)
basePower *= 2;
break;
case EFFECT_TRUMP_CARD: