mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Fixed typo from commit relating to refactoring switching code
This commit is contained in:
@@ -164,8 +164,8 @@ class PokeBattle_Battler
|
|||||||
# Some move effects that need to happen here, i.e. user switching caused by
|
# Some move effects that need to happen here, i.e. user switching caused by
|
||||||
# U-turn/Volt Switch/Baton Pass/Parting Shot, Relic Song's form changing,
|
# U-turn/Volt Switch/Baton Pass/Parting Shot, Relic Song's form changing,
|
||||||
# Fling/Natural Gift consuming item.
|
# Fling/Natural Gift consuming item.
|
||||||
if !switchedBattlers.include?(user.index)
|
if !switched_battlers.include?(user.index)
|
||||||
move.pbEndOfMoveUsageEffect(user,targets,numHits,switchedBattlers)
|
move.pbEndOfMoveUsageEffect(user,targets,numHits,switched_battlers)
|
||||||
end
|
end
|
||||||
# User's ability/item that switches the user out (all negated by Sheer Force)
|
# User's ability/item that switches the user out (all negated by Sheer Force)
|
||||||
if !(user.hasActiveAbility?(:SHEERFORCE) && move.addlEffect > 0)
|
if !(user.hasActiveAbility?(:SHEERFORCE) && move.addlEffect > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user