I took a look at the code on trunk. Looks like a lich (or ancient lich) gets 5-8 spells. A lich gets one "primary" spell that's either a summoner spell or conjuration spell. Possible primary conjurations are:
The only possible primary summoning spell at the moment is Summon Greater Demon.
If the lich is an ancient lich, it has a 50% chance of getting another primary conjuration spell.
After that, a lich gets a "buff" spell. A buff is one of:
Finally, all remaining spell slots are filled with secondary spells. Possible secondary spells are:
- Malign gateway
- Spellforged Servitor
- Poison Arrow
- Summon Horrible Things
- Iskenderun's Mystic Blast
- Bolt of Draining
- Bolt of Fire
- Bolt of Cold
- Throw Icicle
- Iron Shot
- Lightning Bolt
Spell selection is not completely uniform, but I haven't taken the time to understand exactly how they're weighted. There's also some logic in there to make sure that the lich's spell set makes sense. For example, it won't learn Spellforged Servitor if it doesn't know any conjurations.
- Wow, nice job! I'll try to figure out a way to include this in the article without it being too complicated or long. --Lokkij (talk) 21:07, 6 June 2015 (CEST)