Talk:Lich

From CrawlWiki
Revision as of 03:07, 6 June 2015 by Edsrzf (talk | contribs) (Lich spell selection)
Jump to: navigation, search

Do we know how random the spell set is? ie, does it include Banishment? --Kernmantle (talk) 03:41, 3 June 2015 (CEST)


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:

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.

Edsrzf (talk) 04:07, 6 June 2015 (CEST)