New function to check player spells