Files
nethack/include
PatR 2b04cc9f5b fix issue #843 - vampire revival sequencing
Reported by Umbire:
|You kill SpaceMannSpiff!  SpaceMannSpiff puts on a dwarvish cloak.
|SpaceMannSpiff puts on a dwarvish iron helm.
|The seemingly dead SpaceMannSpiff suddenly transforms and rises as
| a Vampire.

This was tough to reproduce but I finally managed it.  The issue
text mentions that it was fixed by copperwater in xNetHack with
commit 8c4af50f0aa3e72522f3eb98df039ff25c2a1ea0 to the repository
for that variant.  My attempt to cherry-pick that failed--I'm not
even sure whether it should have been expected to work--and some of
the code has been impinged upon by changes, so I ended up applying
the contents of that commit manually.

The commit changes how/when monsters put on new armor rather than
anything directly related to vampires.  Circumstances similar to
the example above now yield:
|You kill SpaceMannSpiff!
|The seemingly dead SpaceMannSpiff suddenly transforms and rises as
| a Vampire.
on one turn, then on the next turn the revived vampire produces:
|SpaceMannSpiff puts on a dwarvish cloak.

My test case only had one item of interest; I assume that the second
item of armor gets worn on a subsequent turn rather than at the same
time as the first one.

Fixes #843
2022-09-15 18:02:07 -07:00
..
2022-02-04 11:01:20 -05:00
2022-03-13 13:58:56 -07:00
2022-07-19 21:23:26 +03:00
2022-07-19 21:23:26 +03:00
2022-07-27 12:21:07 +03:00
2022-06-30 23:48:18 -04:00
2022-06-30 23:48:18 -04:00
2022-09-09 19:40:45 +03:00
2022-08-19 10:00:47 -04:00
2022-09-08 10:54:11 -04:00
2021-01-26 21:06:16 -05:00
2022-06-30 23:48:18 -04:00
2022-06-30 23:48:18 -04:00
2022-09-08 10:54:11 -04:00
2022-08-23 23:27:21 +03:00
2022-08-17 20:17:30 +03:00
2022-07-01 08:36:03 -04:00
2022-03-11 07:33:28 -05:00
2022-06-19 02:30:45 -07:00
2022-08-07 22:33:47 +03:00
2022-09-15 14:17:43 -07:00
2022-01-28 08:30:08 +02:00
2022-09-08 10:54:11 -04:00
2022-06-30 23:48:18 -04:00
2021-12-19 19:31:19 -08:00
2022-07-15 13:48:29 -07:00
2022-07-23 23:11:13 -07:00
2022-06-30 23:48:18 -04:00
2022-09-08 10:54:11 -04:00
2022-03-02 13:09:42 -08:00
2020-08-12 16:15:28 -07:00
2022-06-30 23:48:18 -04:00
2022-08-21 11:36:39 +03:00
2021-10-21 08:48:23 -04:00
2022-06-30 23:48:18 -04:00
2022-03-16 21:27:06 -04:00
2021-01-26 10:27:51 -05:00
2022-07-10 11:14:10 -07:00
2022-01-11 10:25:50 -08:00