Files
nethack/doc
Alex Smith fce66245ca Don't attempt to cache encumber_msg result
There was only one point in the code at which this caching was
being done, and it was incorrect: it's possible for the result of
near_capacity to change during a monster turn because monster
actions can change either inventory weight or carry capacity.

The bug was particularly relevant in cases where a character
polymorphed into a slow weak monster gets attacked by a monster
that moves at normal speed: due to the polyform being slow, the
normal-speed monster gets in a lot of attacks and causes a
rehumanization, but due to the polyform being weak, it was
burdened at the start of the monster turn, and so when that
penalty is (due to the bug) applied to the next turn it can
mean that the character misses the next turn too, and may end up
dying as a result.
2025-11-24 02:07:23 +00:00
..
2024-12-25 20:23:00 -05:00
2025-01-31 21:48:15 -05:00
2024-12-31 06:52:27 -06:00
2024-12-26 17:34:18 -05:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2022-01-29 22:57:22 -05:00
2025-10-24 12:01:37 -04:00
2025-10-24 12:01:37 -04:00
2025-04-13 17:32:14 +03:00
2024-12-26 17:34:18 -05:00
2024-12-31 17:15:11 -05:00
2024-12-26 17:34:18 -05:00
2025-10-24 12:27:05 -04:00
2025-10-24 12:27:05 -04:00