I am going to prepare a wizard-bot. It will be instructions on how to use the wizard in combat, entrusted to one of the players, to execute when certain conditions are met.
So,
"If enemy is in striking range, withdraw behind tank, or as close to tank/away from safety as possible."
"If safe, enemies in a row, use Lightning Bolt."
"If safe, single strong enemy is present, somethingsomethingsomething."
It'll go like that, pretty much. I won't make it if you don't meet, though.