added attribute binding for spellcasting