From 22751876b93b1bd64cd0243457ce46fca4d8548f Mon Sep 17 00:00:00 2001 From: Kevin Rode Date: Sun, 3 Jan 2021 22:12:01 -0500 Subject: [PATCH] I am not smart --- games.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/games.py b/games.py index 8b49420..2cf7544 100644 --- a/games.py +++ b/games.py @@ -211,9 +211,11 @@ class game(object): randomchance = random.gauss(0,1) print(randomchance) if randomchance < -1.5 and randomchance > 1.5: + outcome["ishit"] = False + fc_flag = False outcome["text"] = appearance_outcomes.crows crow = True - elif pb_system_stat <= 0 and crow == False: + if pb_system_stat <= 0 and crow == False: outcome["ishit"] = False fc_flag = False if hitnum < -1.5: @@ -255,7 +257,7 @@ class game(object): if 2.5 <= hitnum and self.outs < 2: #well hit flyouts can lead to sacrifice flies/advanced runners if self.bases[2] is not None or self.bases[3] is not None: outcome["advance"] = True - elif crow == False: + if crow == False: outcome["ishit"] = True if hitnum < 1: outcome["text"] = appearance_outcomes.single