reduce mana for using the light; format the code.