I used a lightning spell at the very end of a battle and time ran out before it did anything. It did no damage and the spell was used. This should be fixed by either ending the battle after the spell has done it's damage or by not consuming the spell.

