Spell slots
Magic · Learning and memorizing spells · Attributes and classes
In brief
How many spells a character can hold at each spell level depends on the level of its mage, cleric or paladin class, read from a table for each; a cleric's wisdom above 12 adds bonus slots. Rangers, fighters and thieves get no slots, and a paladin none before level 9. A wisdom above 19 reads past its table and gives no bonus.
Spell slots per level
When a character memorizes or prays, the game first works out how many slots each spell level gets, from the level of the class that casts:1
- Mage spells: the mage class level selects a row of the mage table. The menu offers the spells in the character's known-spells mask.
- Cleric spells: the cleric class level selects a row of the cleric table. Wisdom then adds bonus slots to every spell level that already has at least one; the bonus row is wisdom − 12, and a wisdom of 12 or less adds nothing. The menu offers every cleric spell except Lay on Hands.
- Paladin spells: a character with no cleric class but a paladin class uses the paladin table instead, with no wisdom bonus. The menu offers 17 of the cleric spells, including Lay on Hands.
Bit i of each menu's spell mask admits spell ID i + 1, as for the known-mage-spells mask.
Rangers, fighters and thieves get no slots. A multi-class character uses the level of its mage, cleric or paladin class. The tables have rows up to level 17, beyond the highest level experience can reach. A dot stands for no slot.
Mage, slots per spell level:
| Mage level | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 1 | 1 | · | · | · | · | · | · | · |
| 2 | 2 | · | · | · | · | · | · | · |
| 3 | 2 | 1 | · | · | · | · | · | · |
| 4 | 3 | 2 | · | · | · | · | · | · |
| 5 | 4 | 2 | 1 | · | · | · | · | · |
| 6 | 4 | 2 | 2 | · | · | · | · | · |
| 7 | 4 | 3 | 2 | 1 | · | · | · | · |
| 8 | 4 | 3 | 3 | 2 | · | · | · | · |
| 9 | 4 | 3 | 3 | 2 | 1 | · | · | · |
| 10 | 4 | 4 | 3 | 2 | 2 | · | · | · |
| 11 | 4 | 4 | 4 | 3 | 3 | · | · | · |
| 12 | 4 | 4 | 4 | 4 | 4 | 1 | · | · |
| 13 | 5 | 5 | 5 | 4 | 4 | 2 | · | · |
| 14 | 5 | 5 | 5 | 4 | 4 | 2 | 1 | · |
| 15 | 5 | 5 | 5 | 5 | 5 | 2 | 1 | · |
| 16 | 5 | 5 | 5 | 5 | 5 | 3 | 2 | 1 |
| 17 | 5 | 5 | 5 | 5 | 5 | 3 | 3 | 2 |
Cleric, slots per spell level before the wisdom bonus:
| Cleric level | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 1 | 1 | · | · | · | · | · | · | · |
| 2 | 2 | · | · | · | · | · | · | · |
| 3 | 2 | 1 | · | · | · | · | · | · |
| 4 | 3 | 2 | · | · | · | · | · | · |
| 5 | 3 | 3 | 1 | · | · | · | · | · |
| 6 | 3 | 3 | 2 | · | · | · | · | · |
| 7 | 3 | 3 | 2 | 1 | · | · | · | · |
| 8 | 3 | 3 | 3 | 2 | · | · | · | · |
| 9 | 4 | 4 | 3 | 2 | 1 | · | · | · |
| 10 | 4 | 4 | 3 | 2 | 2 | · | · | · |
| 11 | 5 | 4 | 4 | 3 | 2 | 1 | · | · |
| 12 | 6 | 5 | 5 | 3 | 2 | 2 | · | · |
| 13 | 6 | 6 | 6 | 4 | 2 | 2 | · | · |
| 14 | 6 | 6 | 6 | 5 | 3 | 2 | 1 | · |
| 15 | 6 | 6 | 6 | 6 | 4 | 2 | 1 | · |
| 16 | 7 | 7 | 7 | 6 | 4 | 3 | 1 | · |
| 17 | 7 | 7 | 7 | 7 | 5 | 3 | 2 | · |
Wisdom bonus to cleric slots, per spell level:
| Wisdom | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 13 | 1 | · | · | · | · | · | · | · |
| 14 | 2 | · | · | · | · | · | · | · |
| 15 | 2 | 1 | · | · | · | · | · | · |
| 16 | 2 | 2 | · | · | · | · | · | · |
| 17 | 2 | 2 | 1 | · | · | · | · | · |
| 18 | 2 | 2 | 1 | 1 | · | · | · | · |
| 19 | 3 | 2 | 1 | 2 | · | · | · | · |
Paladin, slots per spell level; levels 1 to 8 have none:
| Paladin level | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| 9 | 1 | · | · | · | · | · | · | · |
| 10 | 2 | · | · | · | · | · | · | · |
| 11 | 2 | 1 | · | · | · | · | · | · |
| 12 | 2 | 2 | · | · | · | · | · | · |
| 13 | 2 | 2 | 1 | · | · | · | · | · |
| 14 | 3 | 2 | 1 | · | · | · | · | · |
| 15 | 3 | 2 | 1 | 1 | · | · | · | · |
| 16 | 3 | 3 | 2 | 1 | · | · | · | · |
| 17 | 3 | 3 | 3 | 1 | · | · | · | · |
The wisdom bonus table has rows for wisdom 12 to 19 only. A higher wisdom reads past its end into the paladin table, whose first eight rows are empty, so a wisdom of 20 to 27 gives no bonus at all. A faithful reimplementation reads the paladin rows in that case. Characters created in this game have a wisdom of at most 18; only a character transferred from an Eye of the Beholder I save, whose attributes are copied unchecked, can bring a higher one.
Sources
Locations refer to the game executable reference.