From da4610817e67671ebc6b6fb58a6c7fc1c482c0cf Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Fri, 24 Feb 2023 11:55:03 -0600 Subject: [PATCH] Update calcs_batter.py Tweak steal ratings --- calcs_batter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/calcs_batter.py b/calcs_batter.py index a227b43..47393b1 100644 --- a/calcs_batter.py +++ b/calcs_batter.py @@ -153,13 +153,15 @@ def stealing(chances: int, sb2s: int, cs2s: int, sb3s: int, cs3s: int, season_pc if st_low >= st_high - 3: if st_high == 0: st_low = 0 + st_jump = 0 elif st_high <= 3: + st_high = 4 st_low = 1 else: st_low = st_high - 3 - if ((st_high - 7) > st_low) and st_high > 7: - st_low = st_high - 7 + # if ((st_high - 7) > st_low) and st_high > 7: + # st_low = st_high - 7 return round(st_low), round(st_high), st_auto, st_jump