Forum:Hit point regeneration confusion

From NetHackWiki
Jump to: navigation, search


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)