mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-11 07:04:59 +00:00
Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping
This commit is contained in:
@@ -888,10 +888,7 @@ Battle::AbilityEffects::MoveBlocking.add(:DAZZLING,
|
||||
next false if battle.choices[user.index][4] <= 0
|
||||
next false if !bearer.opposes?(user)
|
||||
ret = false
|
||||
targets.each do |b|
|
||||
next if !b.opposes?(user)
|
||||
ret = true
|
||||
end
|
||||
targets.each { |b| ret = true if b.opposes?(user) }
|
||||
next ret
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user