From ace530c2bdaf4b435f6fe90fbde3166c85f18788 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Fri, 28 Apr 2023 10:51:50 -0500 Subject: [PATCH] Update ai_manager.py Fatigue clarification --- ai_manager.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ai_manager.py b/ai_manager.py index ddacda5..7d5f993 100644 --- a/ai_manager.py +++ b/ai_manager.py @@ -535,9 +535,11 @@ async def pitching_ai_note(this_play: StratPlay, this_pitcher: dict): ai_note += f'- continue with auto-fatigued {this_pitcher["p_name"]}\n' else: - if len(used_pitchers) < 8: + if len(used_pitchers) == 1: ai_note += f'- go to the pen if the pitcher fatigues **and has allowed 5+ baserunners**' \ f'(`/log ai-pitcher-sub`)\n' + elif len(used_pitchers) < 8: + ai_note += f'- go to the pen if the pitcher fatigues (`/log ai-pitcher-sub`)\n' else: ai_note += f' - continue with {this_pitcher["p_name"]}\n'