Fixed pitcher error

This commit is contained in:
Cal Corum 2025-01-26 02:18:33 -06:00
parent 3273af6465
commit 92a56017a9

View File

@ -2664,7 +2664,7 @@ def sa_fielding_roll(this_team: Team, this_play: Play, pos_code: str, def_rating
elif error_dice == 12: elif error_dice == 12:
error_note = '1-base error for e7, e11, e12, e15 -> e19, e22 -> e51' error_note = '1-base error for e7, e11, e12, e15 -> e19, e22 -> e51'
if def_rating.error in [6, 13, 14, 21, 22, 26, 27, range(30, 35), range(38, 52)]: if def_rating.error in [7, 11, 12, range(15, 19), range(22, 51)]:
this_roll.error_result = 1 this_roll.error_result = 1
elif error_dice == 11: elif error_dice == 11: