Thanks for the comment.
Yeah the AI cant handle zero targets. There is a 15 second timer that should skip the AI turn when it breaks but i didn't have much time to test it.
I agree that there was to little mana and no way to recharge it. i think consumable mana potions would be a solution.