Spell memorisation is the process by which you learn spells from your spell library.
Once you're in the memorisation menu, press the letter of the spell in order to learn it. This takes a few turns (
spell level + 1 turns), and is interrupted when you are attacked, so do it in a safe area.
You can search for spells the library with ctrl-F, and can switch between memorisation, checking descriptions, and hiding/showing spells you have no interest in with the ! key.
While any character may gain access to spells, the following restrictions apply:
- There's a limit to the number of spell levels. Each spell has a level, from 1 to 9. You can only have up to
2 * Spellcasting + Experience Level - 1levels of spells at one time. E.g. a character at XL 11 and 5 Spellcasting can learn 20 levels of spells - that's four level 5 spells, two level 9 + one level 2 spell, etc.
- You cannot memorise a spell whose level is higher than your experience level.
- There is a hard limit of 21 spells.
A scroll of amnesia lets you unmemorise a spell, freeing up spell levels. You can still relearn it from the spell library.
Some species can't memorize certain spells, usually because they'd be useless:
- Djinn can not memorize spells. Instead, they get random spells every 2 XL.
- Ghouls / Mummies: Sublimation of Blood, high level Necromancy (Borgnjor's Revivification, Death's Door, Necromutation), form-changing spells (Beastly Appendage, Blade Hands, Dragon Form, Storm Form, Ice Form, Necromutation, Spider Form, Statue Form, or Wereblood).
- Vampires: high level Necromancy (Borgnjor's Revivification, Death's Door, Necromutation). They can memorize Sublimation of Blood and form-changing spells, but only cast when they are Alive.
- Felids: Portal Projectile, Animate Armour.
- Gargoyles: Statue Form, Sublimation of Blood.
- Formicids: Blink, Swiftness.
- Octopodes / Draconians: Animate Armour.
- Prior to 0.26, spells gifted by Vehumet were not added into the player's library even when memorised.
- Prior to 0.22, there was no spell library. Spellbooks were permanent objects, and spells had to be memorised directly from a book each time.
- Prior to 0.12, your chance of success at memorising a spell was related to your chance to cast the same spell. Failing to memorise a spell had no effect, except from a Book of Annihilations, a Grand Grimoire or a Necronomicon. In these cases, you'd suffer a (likely high level) miscast effect from Conjurations, Summonings or Necromancy, respectively.