From 506fcc9ebe279f182722a88ec0bf71dde62ab94f Mon Sep 17 00:00:00 2001 From: James Turk Date: Sun, 15 Jul 2012 20:50:40 -0400 Subject: [PATCH] automatic rumble detection adjusted to need >8 --- fowl/game/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fowl/game/models.py b/fowl/game/models.py index 864f5e4..b4408f3 100644 --- a/fowl/game/models.py +++ b/fowl/game/models.py @@ -217,7 +217,7 @@ class Match(models.Model): base_points = 1 allies = 0 # allies don't matter in a DQ # rumble is worth participants/2 - elif team_count > 6: + elif team_count > 8: base_points = team_count / 2 allies = 0 # no allies in a rumble battle_royal = True @@ -248,7 +248,7 @@ class Match(models.Model): for star in title_teams[self.title_at_stake ].members.all(): points[star.id] += 1 - elif not battle_royal: + elif not battle_royal and len(title_teams) == 1: # look over titles in match, to score a title-nondefense for title, title_team in title_teams.iteritems(): # beat someone w/ title in a non-defense