fix hero Strength
The recent acurr() changes introduced a bug that caused Str less than 25 to be limited to 18/07. 25 was treated correctly as a special case but 18/01 through 18/100 and 19 through 24 were not. The cap of 25 imposed on the other characteristics is the same as encoded Str 18/07.
This commit is contained in:
@@ -1851,6 +1851,7 @@ debug fuzzer was triggering out of bounds array access in loseexp() if
|
||||
life-saving at level 1 used blessed restore ability to regain lost
|
||||
levels and restored those all the way to level 30; introducing an
|
||||
assert(u.ulevel < MAXULEV) changed bounds issue to assertion failure
|
||||
strength less than 25 was unintentionally being capped at 18/07
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Platform and/or Interface Problems Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user