Update spells.lua

Update to the new functions.
Merge pull request #58 from WibbenZ/patch-13

Update spells.lua