Fix a bug described in the slash'em bugs page at Sourceforge. When attributes are undergoing adjustment (from drinking a potion of gain ability, for instance), don't display "you feel wise" or "you feel weak" messages if worn equipment is keeping the relevant attribute at some point below max or above min and the current value doesn't actually change. The old logic just checked whether you were at max or min and assumed that when not, the value would be changing. Now it checks whether the value actually did change. But it doesn't intercept attempts to go over max or under min at the same point any more; I hope it hasn't introduced any new bugs in the process.
13 KiB
13 KiB