From 15f7adb91633530504753f45f928a46408ec1643 Mon Sep 17 00:00:00 2001 From: Sakimori Date: Sun, 27 Dec 2020 02:58:41 -0500 Subject: [PATCH] adjusted the groundout/fielder's choice ratio --- games.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games.py b/games.py index 03ffe40..376898a 100644 --- a/games.py +++ b/games.py @@ -199,7 +199,7 @@ class game(object): if self.outs < 2 and len(runners) > 1: #fielder's choice replaces not great groundouts if any forceouts are present def_stat = random_star_gen("defense_stars", defender) - if -1.5 <= hitnum and hitnum < 0.5: #poorly hit groundouts + if -1.5 <= hitnum and hitnum < -0.5: #poorly hit groundouts outcome["text"] = appearance_outcomes.fielderschoice outcome["defender"] = ""