mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 21:54:58 +00:00
Fixed bug in Dragon Tail's code
This commit is contained in:
@@ -3084,7 +3084,7 @@ class PokeBattle_Move_0EC < PokeBattle_Move
|
|||||||
switchedBattlers.push(b.index)
|
switchedBattlers.push(b.index)
|
||||||
roarSwitched.push(b.index)
|
roarSwitched.push(b.index)
|
||||||
end
|
end
|
||||||
if roarSwitched>0
|
if roarSwitched.length>0
|
||||||
@battle.moldBreaker = false if roarSwitched.include?(user.index)
|
@battle.moldBreaker = false if roarSwitched.include?(user.index)
|
||||||
@battle.pbPriority(true).each do |b|
|
@battle.pbPriority(true).each do |b|
|
||||||
b.pbEffectsOnSwitchIn(true) if roarSwitched.include?(b.index)
|
b.pbEffectsOnSwitchIn(true) if roarSwitched.include?(b.index)
|
||||||
|
|||||||
Reference in New Issue
Block a user