Fixed swapped baseDmg and type parameters in DamageCalcUserAbility

This commit is contained in:
m3rein
2020-09-05 13:18:11 +02:00
parent 990be3757c
commit 9aebe1e4d2
2 changed files with 5 additions and 5 deletions

View File

@@ -255,7 +255,7 @@ class PokeBattle_Move
target.damageState.calcDamage = damage target.damageState.calcDamage = damage
end end
def pbCalcDamageMultipliers(user,target,numTargets,baseDmg,type,multipliers) def pbCalcDamageMultipliers(user,target,numTargets,type,baseDmg,multipliers)
# Global abilities # Global abilities
if (@battle.pbCheckGlobalAbility(:DARKAURA) && isConst?(type,PBTypes,:DARK)) || if (@battle.pbCheckGlobalAbility(:DARKAURA) && isConst?(type,PBTypes,:DARK)) ||
(@battle.pbCheckGlobalAbility(:FAIRYAURA) && isConst?(type,PBTypes,:FAIRY)) (@battle.pbCheckGlobalAbility(:FAIRYAURA) && isConst?(type,PBTypes,:FAIRY))