Files
nethack/src
Michael Meyer cee6c9a919 Fix: engulf/digest intrinsic granting
Engulfing pets were getting a double chance to get an intrinsic from a
digestion attack, because they got the mon_givit call in mhitm_ad_dgst
and then also the one in mdamagem.

There is a bit of inconsistency here, in that mhitm_ad_dgst requires
corpse creation to grant nutrition, but the non-nutrition effects of
eating a corpse like polymorph, extra health, etc, in mdamagem don't
have any such requirement.  As a result, one of the mon_givit calls
required a corpse to be "created" before granting an intrinsic, and the
other didn't.   In choosing which one to remove, I figured intrinsic
granting is probably closer to those special effects than providing
nutrition (and also putting it in mhitm_ad_dgst is not ideal w/r/t
message ordering: it causes the 'intrinsic granted' message to appear
before the monster kill message).
2022-08-23 18:34:22 -07:00
..
2022-02-04 09:41:30 -05:00
2022-08-11 17:07:43 +03:00
2022-05-31 10:36:12 -07:00
2022-06-30 23:48:18 -04:00
2022-07-18 13:27:39 +03:00
2022-08-23 23:27:21 +03:00
2022-07-02 09:10:03 -04:00
2022-08-23 16:01:35 -07:00
2022-03-17 18:10:38 -04:00
2022-08-15 10:53:50 -07:00
2022-08-18 01:09:52 -07:00
2022-05-07 10:25:13 -04:00
2022-07-02 09:10:03 -04:00
2022-08-20 16:35:31 +03:00
2022-08-09 11:54:45 +03:00
2022-06-30 23:48:18 -04:00
2022-07-02 09:10:03 -04:00
2022-08-05 10:33:55 +03:00
2022-07-02 09:10:03 -04:00
2022-08-23 00:45:30 -07:00
2022-07-15 13:48:29 -07:00
2022-08-09 11:54:45 +03:00
2022-07-02 09:10:03 -04:00
2022-07-19 15:14:55 +03:00
2022-08-19 06:12:51 -07:00
2022-06-30 23:48:18 -04:00
2022-08-21 11:36:39 +03:00
2022-05-07 10:25:13 -04:00
2022-07-19 15:14:55 +03:00
2022-08-22 13:32:12 +03:00
2022-07-19 15:14:55 +03:00
2022-07-02 09:10:03 -04:00
2022-08-09 11:54:45 +03:00
2022-08-14 10:12:54 +03:00
2022-07-14 16:29:08 -07:00
2022-08-23 23:27:21 +03:00
2022-08-18 14:38:45 -07:00
2022-08-09 11:54:45 +03:00
2022-08-12 19:37:34 +03:00
2022-08-21 11:36:39 +03:00
2022-08-09 11:54:45 +03:00
2022-06-12 13:19:13 -07:00
2022-01-05 17:35:33 +02:00
2022-07-17 16:12:39 -07:00
2022-01-29 11:13:01 -08:00
2022-08-23 00:45:30 -07:00
2022-04-29 12:44:26 -07:00
2022-08-21 11:36:39 +03:00
2022-08-12 19:37:34 +03:00
2022-07-01 13:08:43 -07:00
2022-07-02 09:10:03 -04:00
2022-08-23 16:01:35 -07:00
2022-02-09 22:49:25 +02:00
2021-01-26 21:06:16 -05:00
2022-08-23 18:34:22 -07:00
2022-07-03 21:23:13 -04:00
2022-07-28 00:51:18 -07:00
2022-07-15 13:48:29 -07:00
2022-07-29 16:11:35 -07:00
2022-03-18 10:19:04 +02:00
2022-08-12 19:37:34 +03:00
2022-08-22 14:03:28 -07:00
2022-08-05 15:05:10 -07:00
2022-07-17 21:37:31 +03:00