Difference between revisions of "Showdmg"

From NetHackWiki
Jump to navigation Jump to search
(I just noticed a feature of SLASH'EM option showdmg; I should now document it.)
 
(This is also a debugging tool (with wizmode))
Line 8: Line 8:
 
* All other gnomes: Level 14
 
* All other gnomes: Level 14
 
* All other races and roles: Level 17
 
* All other races and roles: Level 17
 +
* Any character in [[wizard mode]]: Level 1
  
 
Source code reference: {{semsrc|src/hack.c|1.23.2.2|line=2596}}
 
Source code reference: {{semsrc|src/hack.c|1.23.2.2|line=2596}}
  
 
[[Category:SLASH'EM]]
 
[[Category:SLASH'EM]]

Revision as of 23:06, 3 September 2006

If compiled with SHOWDMG defined, then SLASH'EM has an option showdmg to add the amount of damage to the message when monsters hit you. "The newt bites! [2 pts.]" It makes more obvious what your HP counter on the status line already shows. To use this option, remember to enable it.

When your character reaches a certain level, then the showdmg option will also show how much you damage enemies. "You kick it. (3 pts.)" The minimum levels are:

Source code reference: src/hack.c#line2596