spells functioning

still need to put in visual effects and disable infinite spells.