Update ai_manager.py

Fatigue clarification
This commit is contained in:
Cal Corum 2023-04-28 10:51:50 -05:00
parent 437bbb5522
commit ace530c2bd

View File

@ -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'