Spells appear randomly in the guild!
Not at all! There are spells that simply cannot appear in certain castles, and there are castles where the probability of a specific spell appearing is very high. For example, in the Castle, Resurrection appears more often than in other castles, in the Necropolis - raising undead (it's almost always available), in the Inferno - Armageddon, and so on.