Added code to mana

Trying to implement a mana system