From 4310a7bb42466266281b216bca1f7121cc74c1f4 Mon Sep 17 00:00:00 2001 From: jcwimer Date: Wed, 6 Jan 2016 20:08:28 +0000 Subject: [PATCH] Pool wins are worth 2pts --- app/models/wrestler.rb | 2 +- app/views/static_pages/about.html.erb | 2 +- test/integration/pool_advancement_test.rb | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/models/wrestler.rb b/app/models/wrestler.rb index 162c7a0..e37d1d0 100644 --- a/app/models/wrestler.rb +++ b/app/models/wrestler.rb @@ -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 diff --git a/app/views/static_pages/about.html.erb b/app/views/static_pages/about.html.erb index fd76fe1..bd4b70b 100644 --- a/app/views/static_pages/about.html.erb +++ b/app/views/static_pages/about.html.erb @@ -20,7 +20,7 @@

If three wrestlers are tied, they will be put through this sequence until two wrestlers are left. Once two wrestlers are left, the pool runner up will be decided by head to head.

For pool to bracket tournaments, team points will be calculated as follows: