Update calcs_batter.py
Tweak steal ratings
This commit is contained in:
parent
dbdd1c7fcb
commit
da4610817e
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user