1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 14:36:59 +00:00

Pool wins are worth 2pts

This commit is contained in:
2016-01-06 20:08:28 +00:00
parent 6a5e0817d6
commit 4310a7bb42
3 changed files with 9 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ class Wrestler < ActiveRecord::Base
def teamPointsEarned
points = 0.0
points = points + (poolWins.size * 1) + (pinWins.size * 2) + (techWins.size * 1.5) + (majorWins.size * 1) + placementPoints
points = points + (poolWins.size * 2) + (pinWins.size * 2) + (techWins.size * 1.5) + (majorWins.size * 1) + placementPoints
end
def placementPoints