Difference between revisions of "Talk:Stethoscope"

From NetHackWiki
Jump to navigation Jump to search
(any advantages from a blessed stethoscope?: new section)
(Whirly interference)
 
(2 intermediate revisions by 2 users not shown)
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)
 +
 +
== Whirly interference ==
 +
 +
<b>"The <monster> interferes"</b>
 +
You applied the stethoscope while engulfed by a [[whirly]] monster. (90% chance of interference, 67% for healers)
 +
 +
I don't think this is true. Reading [[apply.c#line212]], which is probably the inspiration, it seems that one should roll an <code>[[rn2]](10)</code> for healers and an <code>rn2(3)</code> otherwise. Since it is preceded by <code>!</code>, I would guess that this bit is to be read like so:
 +
:If you're a healer, roll d10. If you roll a 1, your probing fails; otherwise it works. If you're anything else, roll a d3. If you roll a 1, your probing fails; otherwise it works.
 +
Which also seems more consistent with wizard-testing. So I think that <code>rn2(x)</code> is TRUE if positive, FALSE if negative or neutral. Am I entirely misled?__[[User:Train|Train]] ([[User talk:Train|talk]]) 11:31, 12 June 2015 (UTC)
 +
:Since there have been no answers, I've made the specified change.__[[User:Train|Train]] ([[User talk:Train|talk]]) 08:05, 26 June 2015 (UTC)

Latest revision as of 08:05, 26 June 2015

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)

Whirly interference

"The <monster> interferes"
You applied the stethoscope while engulfed by a whirly monster. (90% chance of interference, 67% for healers)

I don't think this is true. Reading apply.c#line212, which is probably the inspiration, it seems that one should roll an rn2(10) for healers and an rn2(3) otherwise. Since it is preceded by !, I would guess that this bit is to be read like so:

If you're a healer, roll d10. If you roll a 1, your probing fails; otherwise it works. If you're anything else, roll a d3. If you roll a 1, your probing fails; otherwise it works.

Which also seems more consistent with wizard-testing. So I think that rn2(x) is TRUE if positive, FALSE if negative or neutral. Am I entirely misled?__Train (talk) 11:31, 12 June 2015 (UTC)

Since there have been no answers, I've made the specified change.__Train (talk) 08:05, 26 June 2015 (UTC)