Spells are bought in cities at special shops. They come in two categories: white magic and black magic. Each type of spellcaster has access to their own set of spells. Casting spells uses up magical energy, which can be restored by resting in an inn.