mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-17 05:15:36 +00:00
Placement points added need to test
This commit is contained in:
@@ -16,7 +16,11 @@ class Wrestler < ActiveRecord::Base
|
||||
|
||||
def totalTeamPoints
|
||||
points = 0.0
|
||||
points = points + (poolWins.size * 1) + (pinWins.size * 2) + (techWins.size * 1.5) + (majorWins.size * 1)
|
||||
points = points + (poolWins.size * 1) + (pinWins.size * 2) + (techWins.size * 1.5) + (majorWins.size * 1) + placementPoints
|
||||
end
|
||||
|
||||
def placementPoints
|
||||
PoolBracketTeamPointsCalc.new(self).calcPoints
|
||||
end
|
||||
|
||||
def totalDeductedPoints
|
||||
|
||||
Reference in New Issue
Block a user