Michael Meyer
1dab134fce
Fix: rising from the grave as a zombie
...
When the hero is killed by a zombie, she is supposed to arise from the
grave as a zombie of a type matching her race. Commit 580c5a6 broke
this inadvertently -- done_in_by was passing gy.youmonst.data to
zombie_form() and relying on the old behavior where it attempted to
include the hero's race in is_elf, is_orc, etc if the permonst matched
the hero's role. Because this no longer works, zombie_form was only
returning PM_HUMAN_ZOMBIE when passed the role permonst of an
unpolymorphed hero. Use gu.urace.zombienum instead. This would have to
be a little more sophisticated (falling back to zombie_form() if Upolyd)
if a polymorphed hero with unchanging could die via done_in_by but
that's not currently possible as far as I can tell.
2023-09-07 05:35:51 -07:00
..
2022-02-04 09:41:30 -05:00
2023-02-08 17:17:43 -05:00
2023-09-06 12:39:17 -04:00
2023-06-21 03:31:41 -07:00
2023-05-27 08:47:26 -07:00
2023-08-25 12:03:32 -07:00
2023-04-27 14:53:28 -07:00
2023-06-14 06:13:11 -07:00
2023-06-09 16:09:26 -07:00
2023-08-05 12:50:47 -07:00
2023-08-29 00:45:11 -07:00
2022-12-05 13:39:46 -05:00
2023-04-16 09:57:41 +03:00
2023-08-24 18:38:39 +03:00
2023-04-30 00:38:40 -07:00
2023-07-07 10:41:18 -07:00
2023-04-29 01:48:11 -07:00
2022-10-29 10:54:25 -04:00
2023-08-29 00:02:19 -07:00
2023-06-14 16:14:18 -07:00
2023-07-17 14:27:28 -07:00
2023-08-30 13:38:08 -07:00
2023-05-20 15:34:32 -07:00
2023-03-19 12:19:34 -04:00
2023-06-14 15:54:04 -07:00
2022-09-06 10:00:07 -04:00
2023-08-24 18:38:39 +03:00
2023-09-03 18:27:00 +03:00
2023-09-07 05:35:51 -07:00
2023-05-04 06:02:23 -07:00
2023-03-16 22:27:01 -04:00
2023-08-29 12:05:48 +03:00
2022-11-29 21:53:21 -05:00
2023-09-06 12:39:17 -04:00
2023-08-29 12:05:48 +03:00
2023-07-06 13:18:19 -07:00
2023-03-16 22:27:01 -04:00
2023-05-10 02:23:57 -07:00
2023-08-15 15:48:41 -07:00
2022-09-19 17:32:42 -04:00
2023-08-15 14:12:52 -04:00
2023-07-22 17:54:12 -07:00
2023-04-21 08:25:53 -04:00
2023-06-16 21:19:43 -07:00
2023-08-29 12:05:48 +03:00
2023-05-29 22:39:43 -04:00
2023-06-16 21:19:43 -07:00
2023-08-29 12:05:48 +03:00
2023-04-11 14:21:06 +03:00
2023-08-24 18:38:39 +03:00
2022-11-29 21:53:21 -05:00
2023-08-24 18:38:39 +03:00
2023-07-12 09:48:24 -07:00
2023-03-19 13:03:22 +02:00
2023-08-29 00:02:19 -07:00
2023-08-26 14:13:03 +03:00
2023-07-08 15:24:40 -07:00
2023-04-22 16:10:37 -07:00
2023-02-07 00:44:36 -05:00
2023-08-29 12:05:48 +03:00
2023-08-08 16:49:03 +03:00
2023-05-06 23:12:59 +03:00
2023-08-24 09:22:57 +03:00
2023-07-04 14:53:16 -07:00
2023-06-24 13:18:16 -04:00
2023-01-28 13:02:46 -08:00
2022-09-13 10:27:53 -07:00
2023-08-16 18:16:11 -07:00
2023-08-31 14:58:51 -07:00
2023-03-16 22:27:01 -04:00
2023-06-24 16:12:54 -07:00
2023-09-06 12:27:13 -04:00
2023-08-04 15:12:33 -07:00
2023-08-29 12:05:48 +03:00
2023-08-29 12:05:48 +03:00
2023-08-29 00:02:19 -07:00
2023-06-17 14:15:49 -07:00
2023-06-17 14:15:49 -07:00
2023-08-29 12:05:48 +03:00
2023-03-16 22:27:01 -04:00
2023-08-29 12:05:48 +03:00
2023-08-24 18:38:39 +03:00
2022-11-29 21:53:21 -05:00
2022-11-19 00:49:11 -08:00
2022-12-22 15:07:33 -08:00
2023-04-01 10:13:01 +03:00
2023-08-24 18:38:39 +03:00
2023-03-01 12:01:43 -05:00
2023-05-04 06:02:23 -07:00
2023-04-15 14:25:52 +03:00
2023-08-25 11:43:00 -07:00
2023-05-15 23:14:26 -04:00
2023-08-24 18:38:39 +03:00
2023-04-29 02:18:29 -07:00
2022-12-31 11:25:53 -08:00
2023-04-17 18:47:05 +03:00
2023-06-30 12:55:33 -07:00
2023-09-06 12:27:13 -04:00
2023-06-09 00:56:53 -07:00
2023-05-08 15:21:03 -07:00
2023-07-02 14:58:11 -07:00
2023-03-11 15:12:02 -05:00
2023-08-29 12:05:48 +03:00
2023-04-27 14:53:28 -07:00
2023-08-29 12:05:48 +03:00
2023-06-06 17:50:08 -04:00
2023-05-04 06:02:23 -07:00
2022-11-29 21:53:21 -05:00
2023-02-06 19:23:42 +02:00
2023-07-27 13:11:22 -07:00
2023-07-15 12:20:47 -07:00
2023-03-18 21:47:34 -07:00
2023-04-21 08:25:53 -04:00
2023-03-19 19:36:52 +02:00
2023-03-16 22:27:01 -04:00
2023-08-26 14:13:03 +03:00
2023-07-07 12:13:52 -07:00
2023-08-29 12:05:48 +03:00