mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Fixed Soak affecting the user rather than the target
This commit is contained in:
@@ -1947,7 +1947,7 @@ class PokeBattle_Move_061 < PokeBattle_Move
|
|||||||
|
|
||||||
def pbEffectAgainstTarget(user,target)
|
def pbEffectAgainstTarget(user,target)
|
||||||
newType = getConst(PBTypes,:WATER)
|
newType = getConst(PBTypes,:WATER)
|
||||||
user.pbChangeTypes(newType)
|
target.pbChangeTypes(newType)
|
||||||
typeName = PBTypes.getName(newType)
|
typeName = PBTypes.getName(newType)
|
||||||
@battle.pbDisplay(_INTL("{1} transformed into the {2} type!",target.pbThis,typeName))
|
@battle.pbDisplay(_INTL("{1} transformed into the {2} type!",target.pbThis,typeName))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user