From CrawlWiki
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)

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)
Got it! Sorry Lokkij, I've been waiting for someone to post that information for ages now :P --MoogleDan (talk) 14:53, 7 June 2015 (CEST)