Difference between revisions of "Forum:Hit point regeneration confusion"

From NetHackWiki
Jump to navigation Jump to search
(Created page with "{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> I am confused about HP regeneration. The wiki s...")
 
(answer)
 
(One intermediate revision by one other user not shown)
Line 9: Line 9:
 
"If you are level 10 or above, you will regenerate every third turn. If your Constitution is 12 or lower, you get one hit point. Otherwise, you get d(Con) hitpoints up to a maximum of your level minus 9."
 
"If you are level 10 or above, you will regenerate every third turn. If your Constitution is 12 or lower, you get one hit point. Otherwise, you get d(Con) hitpoints up to a maximum of your level minus 9."
  
Does this mean that characters level 10 or above get d(min[Con, level - 9]) hitpoints, d(min[Con - 9, level]) hitpoints, or min[d(Con), level] hitpoints?
+
Does this mean that characters level 10 or above get d(min[Con, level]) - 9 hitpoints, d(min[Con, level - 9]) hitpoints, or min[d(Con), level - 9] hitpoints?
  
 
--[[Special:Contributions/66.93.240.163|66.93.240.163]] 15:05, 7 December 2011 (UTC)
 
--[[Special:Contributions/66.93.240.163|66.93.240.163]] 15:05, 7 December 2011 (UTC)
 +
 +
:It's min[d(Con), level - 9] according to the source (allmain.c, lines 179&ndash;180). --[[User:Erica|Erica]] 15:20, 7 December 2011 (UTC)

Latest revision as of 15:20, 7 December 2011


I am confused about HP regeneration.

The wiki says :

"If you are level 10 or above, you will regenerate every third turn. If your Constitution is 12 or lower, you get one hit point. Otherwise, you get d(Con) hitpoints up to a maximum of your level minus 9."

Does this mean that characters level 10 or above get d(min[Con, level]) - 9 hitpoints, d(min[Con, level - 9]) hitpoints, or min[d(Con), level - 9] hitpoints?

--66.93.240.163 15:05, 7 December 2011 (UTC)

It's min[d(Con), level - 9] according to the source (allmain.c, lines 179–180). --Erica 15:20, 7 December 2011 (UTC)