]> granicus.if.org Git - nethack/commit
luck confusion
authornethack.rankin <nethack.rankin>
Thu, 2 Mar 2006 05:54:04 +0000 (05:54 +0000)
committernethack.rankin <nethack.rankin>
Thu, 2 Mar 2006 05:54:04 +0000 (05:54 +0000)
commit63103b6705274f226538a0e8d95feb658b4d3ef4
tree1bf04fa9825843919fb85f8b59263931f1d93cbe
parent0fc15dd2590a87ccc6919755e85c004d835466d4
luck confusion

     Remove a couple of false comments about Luck, and an unreachable
switch case based upon them.  I don't know if the comment in you.h was ever
true, but it was false by the time Kevin brought across assorted changes
from slash'em however many years ago.  Full moon does not change the range
of possible Luck values, and ``rn2((Luck + 6) >> 1)'' produces a value
between 0 and 8 for prayer result, never 9.  Natural luck is always within
the range of -10 to +10, and extra luck from carrying blessed or cursed
luckstone can add or subtract another 3.  Full moon and Friday the 13th
change the equilibrium point for luck timeout but do not change the overall
range of possible values, which remains at -13 to +13.
include/you.h
src/pray.c