mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +01:00
Fix Venoshock
Damage should double if target is poisoned, not attacker.
This commit is contained in:
parent
38120afbac
commit
bb89d03a1d
@ -7453,7 +7453,7 @@ static u32 CalcMoveBasePowerAfterModifiers(u16 move, u8 battlerAtk, u8 battlerDe
|
|||||||
MulModifier(&modifier, UQ_4_12(2.0));
|
MulModifier(&modifier, UQ_4_12(2.0));
|
||||||
break;
|
break;
|
||||||
case EFFECT_VENOSHOCK:
|
case EFFECT_VENOSHOCK:
|
||||||
if (gBattleMons[battlerAtk].status1 & STATUS1_PSN_ANY)
|
if (gBattleMons[battlerDef].status1 & STATUS1_PSN_ANY)
|
||||||
MulModifier(&modifier, UQ_4_12(2.0));
|
MulModifier(&modifier, UQ_4_12(2.0));
|
||||||
break;
|
break;
|
||||||
case EFFECT_RETALITATE:
|
case EFFECT_RETALITATE:
|
||||||
|
Loading…
Reference in New Issue
Block a user