Talk:Search

From NetHackWiki
Revision as of 21:27, 11 July 2010 by Tjr (talk | contribs) (how to compute exact door/trap finding probabilities; numbers on request)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

exact door/trap finding probabilities

The exact probabilities of finding a secret door or trap per search can be deduced from Detect.c#dosearch0 (called with aflag = 0) and rnl. The precise numbers matter for finding the expected number of searches (the numerics are instable as the probability approaches zero.) The table needs to be updated for the case you are wearing a ring of searching.

On request, I can provide the exact probability distribution of the involved functions.Tjr 21:27, July 11, 2010 (UTC)