Fix for unlimited mana

apparently 1000 mana regen was throwing errors. this should fix it