Added a spelleffect class that uses masks