Difference between revisions of "Talk:Stethoscope"

From NetHackWiki
Jump to navigation Jump to search
(Stethoscope doesn't exercise wisdom?)
 
(any advantages from a blessed stethoscope?: new section)
Line 8: Line 8:
  
 
Can someone please confirm or refute this? Also do [[we]] think Wisdom should be exercised on a successful secret-door-detection-with-stethoscope? -- [[User:Kalon|Kalon]] 04:02, 4 April 2008 (UTC)
 
Can someone please confirm or refute this? Also do [[we]] think Wisdom should be exercised on a successful secret-door-detection-with-stethoscope? -- [[User:Kalon|Kalon]] 04:02, 4 April 2008 (UTC)
 +
 +
== any advantages from a blessed stethoscope? ==
 +
 +
do i get some extra info?

Revision as of 07:52, 6 October 2009

Stethoscope doesn't exercise wisdom?

My code diving is fairly amateurish, but I think that you don't exercise wisdom if you use a stethoscope to detect sercret doors. My reasons:

  • Stethoscope use is dealt with in apply.c. The section in question, apply.c#line292, when you use a stethoscope and do find a secret door, the function called is cvt_sdoor_to_door(lev). This is dealt with in detect.c#line980, which only returns the appropriate modifications to the map (NEWMASK) but nothing else.
  • Rather than use a specific function like stethoscopes, if you search "normally" using the "s" key, you reference the function dosearch() which goes to dosearch0() which contains EXERCISE(A_WIS, TRUE) which is the statement that handles exercise of a stat.

This is depressing for my Healers, who usually are so fragile I can't spend 15+ turns as a sitting duck searching at the end of a seemingly dead-end corridor, and use the stethoscope regularly.

Can someone please confirm or refute this? Also do we think Wisdom should be exercised on a successful secret-door-detection-with-stethoscope? -- Kalon 04:02, 4 April 2008 (UTC)

any advantages from a blessed stethoscope?

do i get some extra info?