added xp cost to spell object