mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44:58 +00:00
Yet more Rubocopping
This commit is contained in:
@@ -1179,8 +1179,8 @@ Battle::AbilityEffects::AccuracyCalcFromTarget.add(:UNAWARE,
|
||||
|
||||
Battle::AbilityEffects::AccuracyCalcFromTarget.add(:WONDERSKIN,
|
||||
proc { |ability, mods, user, target, move, type|
|
||||
if move.statusMove? && user.opposes?(target)
|
||||
mods[:base_accuracy] = 50 if mods[:base_accuracy] > 50
|
||||
if move.statusMove? && user.opposes?(target) && mods[:base_accuracy] > 50
|
||||
mods[:base_accuracy] = 50
|
||||
end
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user