mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Fix use of wrong variable in Protean
This commit is contained in:
@@ -360,7 +360,7 @@ class PokeBattle_Battler
|
|||||||
end
|
end
|
||||||
# Protean
|
# Protean
|
||||||
if user.hasActiveAbility?(:PROTEAN) && !move.callsAnotherMove? && !move.snatched
|
if user.hasActiveAbility?(:PROTEAN) && !move.callsAnotherMove? && !move.snatched
|
||||||
if user.pbHasOtherType?(moveType) && !PBTypes.isPseudoType?(move.calcType)
|
if user.pbHasOtherType?(move.calcType) && !PBTypes.isPseudoType?(move.calcType)
|
||||||
@battle.pbShowAbilitySplash(user)
|
@battle.pbShowAbilitySplash(user)
|
||||||
user.pbChangeTypes(move.calcType)
|
user.pbChangeTypes(move.calcType)
|
||||||
typeName = PBTypes.getName(move.calcType)
|
typeName = PBTypes.getName(move.calcType)
|
||||||
|
|||||||
Reference in New Issue
Block a user