mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-26 16:26:01 +00:00
Resolved many Rubocop warnings
This commit is contained in:
@@ -428,7 +428,7 @@ def pbBalancedLevel(party)
|
||||
weights.push(weight)
|
||||
end
|
||||
weightSum = 0
|
||||
weights.each { |weight| weightSum += weight }
|
||||
weights.each { |w| weightSum += w }
|
||||
# Calculate the weighted mean, assigning each weight to each level's
|
||||
# contribution to the sum
|
||||
for i in 0...party.length
|
||||
|
||||
Reference in New Issue
Block a user