Files
nethack/include
PatR d53c1a7a67 max HP manipulation
Life-saving has been setting u.uhpmax to max(2 * u.ulevel, 10)
and if it took place during level drain that could make u.uhpmax
increase instead of decrease, confusing healing which gets applied
to a monster who has drained the hero with Stormbringer or the
Staff of Aesculapius.  Change the setting to be max(u.ulevel, 10)
(removing the times two part) and also have level drain force it
to be set back to previous value if/when it gets increased.

Max HP loss due to strength trying to drop below 3 or to fire trap
or to being hit by Death now uses a mininum max HP of u.ulevel
rather than 1.  They don't have the alternate minimum of 10; I'm
uneasy that there are still two different minimum values.

I changed adjattrib() to set the flag to request a status update
before it gave its optional message rather than after so that the
new characteristic value would be visible during the message.  That
resulted in not updating status when eating royal jelly changed HP
or max HP after boosting strength.  But the same missing update
would have occurred--or rather, failed to occur--without the change
in sequencing if the strength boost causes a change in encumbrance.
2022-03-21 12:32:07 -07:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2021-02-07 22:25:25 -06:00
2020-10-14 09:25:45 -07:00
2022-01-29 11:13:01 -08:00
2022-03-11 07:33:28 -05:00
2022-03-04 13:07:14 -08:00
2022-02-22 14:41:20 +02:00
2021-01-26 21:06:16 -05:00
2022-03-21 12:32:07 -07:00
2022-03-11 07:33:28 -05:00
2021-01-20 22:18:34 -06:00
2021-12-26 00:16:55 -08:00
2020-12-04 09:30:21 +02:00
2022-02-16 23:04:02 +02:00
2022-03-18 10:19:04 +02:00
2022-02-19 17:31:34 -08:00
2022-02-02 05:26:03 -08:00
2022-01-28 08:30:08 +02:00
2022-03-16 16:19:30 -07:00
2022-03-12 17:25:54 -08:00
2021-12-19 19:31:19 -08:00
2022-03-09 07:06:37 -08:00
2021-09-18 19:51:04 -04:00
2022-03-02 13:09:42 -08:00
2022-02-01 13:03:41 -05:00
2020-08-12 16:15:28 -07:00
2022-03-15 13:46:56 +02:00
2022-02-24 16:24:02 +02:00
2021-10-21 08:48:23 -04:00
2022-03-16 21:27:06 -04:00
2021-12-20 08:16:13 -08:00
2021-09-20 09:32:40 -04:00
2022-01-29 16:28:06 -05:00
2021-01-26 10:27:51 -05:00
2022-02-27 01:55:25 -08:00
2022-01-11 10:25:50 -08:00