Sunday, 2nd July 2017, 18:55 by duvessa
On most levels, the game tries to generate 3d10 monsters. Pan gets random2avg(28,3) instead, Crypt gets 3d8 instead, and Hells get 3d10+3d8. The monster generator function can create MONS_NO_MONSTER. So the game might try to generate 15 monsters but really only generate 13. Remember that random monster spawns continue to occur while you're on the level, so you're going to fight more monsters than just the ones that initially generated.
For items, if absdepth > 5 and a 1/(500-5*absdepth) chance succeeds, the game generates 10+random2avg(90, 2) items. Otherwise it generates 3+3d11 items.
None of this depends on previous levels.
Vaults will create more monsters and items on top of this.
As for the overall XP in the game, it depends on your definition of "roughly fixed". Owing to the central limit theorem and the sheer length of the game, the total amount of XP in the game is very close to normally distributed, but there is no deliberate mechanism in DCSS to ensure a certain amount of XP.
- For this message the author duvessa has received thanks: 5
- ichbins, Majang, nago, stoneychips, Turukano