mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-25 15:55:59 +00:00
Code tidying with Rubocop
This commit is contained in:
@@ -318,7 +318,8 @@ class Battle::Move::TwoTurnMove < Battle::Move
|
||||
return !@damagingTurn # Deliberately not "return @chargingTurn"
|
||||
end
|
||||
|
||||
def pbDamagingMove? # Stops damage being dealt in the first (charging) turn
|
||||
# Stops damage being dealt in the first (charging) turn.
|
||||
def pbDamagingMove?
|
||||
return false if !@damagingTurn
|
||||
return super
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user