mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
More Rubocop changes
This commit is contained in:
@@ -266,11 +266,9 @@ class Battle
|
||||
if opposes?(idxBattler)
|
||||
return [] if !@items
|
||||
return @items[pbGetOwnerIndexFromBattlerIndex(idxBattler)]
|
||||
else
|
||||
return [] if !@ally_items
|
||||
return @ally_items[pbGetOwnerIndexFromBattlerIndex(idxBattler)]
|
||||
end
|
||||
return []
|
||||
return [] if !@ally_items
|
||||
return @ally_items[pbGetOwnerIndexFromBattlerIndex(idxBattler)]
|
||||
end
|
||||
|
||||
# Returns whether the battler in position idxBattler is owned by the same
|
||||
|
||||
Reference in New Issue
Block a user