Difference between revisions of "Talk:Stethoscope"

From NetHackWiki
Jump to navigation Jump to search
(any advantages from a blessed stethoscope?: new section)
Line 12: Line 12:
  
 
do i get some extra info?
 
do i get some extra info?
 +
 +
Just that it's less likely to become cursed.  There are minor disadvantages to a cursed stethoscope. -- [[User:Thefifthsetpin|Thefifthsetpin]] 04:23, 11 May 2011 (UTC)

Revision as of 04:23, 11 May 2011

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?

Just that it's less likely to become cursed. There are minor disadvantages to a cursed stethoscope. -- Thefifthsetpin 04:23, 11 May 2011 (UTC)