Difference between revisions of "Talk:Leash"

From NetHackWiki
Jump to navigation Jump to search
(trap detection: new section)
(trap detection: Reliability is probably dependent on the time you spend in that area ( and never reaches 100% ))
Line 6: Line 6:
  
 
How reliable is a leashed pet at detecting traps? My own experience finding polymorph traps in the mines tells me it's the most effective method, short of using a crystal ball or gold detection. Are there hard numbers on this subject? --[[User:Tjr|Tjr]] 19:50, 6 January 2011 (UTC)
 
How reliable is a leashed pet at detecting traps? My own experience finding polymorph traps in the mines tells me it's the most effective method, short of using a crystal ball or gold detection. Are there hard numbers on this subject? --[[User:Tjr|Tjr]] 19:50, 6 January 2011 (UTC)
 +
 +
:From what it looks like in the source code ({{sourcecode|dogmove.c|659}}), the pet is guranteed to whine if it attempts to step on a trap, but since you can't predict the pet where the pet is going to step, you can't be 100% confident that your pet has covered all nearby squares. So I guess the reliability of this method is dependent on the time you spend with a leashed pet in a certain area, but still could theoretically never find a trap after an infinite number of turns ( assuming the pet's path choice is random ).
 +
:--[[User:Dptr1988|Dptr1988]] 20:01, 6 January 2011 (UTC)

Revision as of 20:01, 6 January 2011

I will like to know what does a blessed leash does. --84.229.49.241 11:32, 26 June 2009 (UTC)

It won't get cursed as fast by spellcasting monsters. Apart from that, there is no difference to uncursed. -Tjr 12:00, 26 June 2009 (UTC)

trap detection

How reliable is a leashed pet at detecting traps? My own experience finding polymorph traps in the mines tells me it's the most effective method, short of using a crystal ball or gold detection. Are there hard numbers on this subject? --Tjr 19:50, 6 January 2011 (UTC)

From what it looks like in the source code (dogmove.c, line 659), the pet is guranteed to whine if it attempts to step on a trap, but since you can't predict the pet where the pet is going to step, you can't be 100% confident that your pet has covered all nearby squares. So I guess the reliability of this method is dependent on the time you spend with a leashed pet in a certain area, but still could theoretically never find a trap after an infinite number of turns ( assuming the pet's path choice is random ).
--Dptr1988 20:01, 6 January 2011 (UTC)