While in a tactical battle, I clicked the auto play button (the one that lets you watch the battle as the AI plays it). At some point the AI decided it would be a good idea to use all my mana to cast "Fracture". And in fact, it somehow spent more mana than I had, leaving me with -12. This should not be possible.