Fixed bug with life/mana calculations