Update calcs_batter.py
Ensure second steal number is at least 3 lower than first number
This commit is contained in:
parent
aab124a581
commit
0c9b681ed2
@ -150,7 +150,7 @@ def stealing(chances: int, sb2s: int, cs2s: int, sb3s: int, cs3s: int, season_pc
|
||||
else:
|
||||
st_low = mround(16 * ((sb2s + sb3s) / (sb2s + sb3s + cs2s * 2 + cs3s * 2)))
|
||||
|
||||
if st_low >= st_high:
|
||||
if st_low >= st_high - 3:
|
||||
if st_high == 0:
|
||||
st_low = 0
|
||||
elif st_high <= 3:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user