Talk:Spellbook of sleep

From NetHackWiki
Jump to navigation Jump to search
  • How long do monsters sleep if left alone?
  • Source code ref for the "fact" sleeping a monster several times in a row will not make it sleep longer?

--Tjr 03:21, 10 June 2011 (UTC)

I'm not sure about the first - it might be 1d25 turns (look at zap.c#line2960), but I don't know how that interacts with loud noises, stealth, etc. A stealthy character will never wake up a nymph simply by being around her - is this true for monsters who have been hit by the sleep spell? I'm not sure.
As for the second, it's correct. Looking at mhitm.c#line1191, it explicitly checks to make sure the monster can move before applying the sleep effect. So hitting a monster repeatedly with sleep has absolutely no effect (it doesn't even restart the sleeping duration). -Ion frigate 14:47, 10 June 2011 (UTC)