add functions needed for some mastery spells