Fixed Soak affecting the user rather than the target

This commit is contained in:
Maruno17
2020-09-18 20:13:27 +01:00
parent dbf8a57b2d
commit c391fb39f8

View File

@@ -1947,7 +1947,7 @@ class PokeBattle_Move_061 < PokeBattle_Move
def pbEffectAgainstTarget(user,target)
newType = getConst(PBTypes,:WATER)
user.pbChangeTypes(newType)
target.pbChangeTypes(newType)
typeName = PBTypes.getName(newType)
@battle.pbDisplay(_INTL("{1} transformed into the {2} type!",target.pbThis,typeName))
end