hg
69e90c1739
[Quest API] Export corpse in EVENT_DEATH_COMPLETE ( #2519 )
...
It wasn't possible to easily obtain the corpse from post-death events
because the killed entity id is assigned to the corpse and reset to 0
on the entity before the events are dispatched.
This exposes the killed entity's corpse to EVENT_DEATH_COMPLETE and
EVENT_DEATH_ZONE. Lua exports a Corpse object and perl exports a corpse
entity id.
The purpose of this is to make it easier to add items dynamically on
death. Ideally this would be done in EVENT_DEATH before the corpse is
made, but there's currently some combat system bugs that make that event
unusable since it can be dispatched multiple times.
A follow up will provide an api to reset corpse decay times since adding
items after corpse creation will require quests to manually reset the
decay timer in case the corpse had zero items.
2022-11-06 10:36:57 -05:00
..
2022-11-05 11:09:47 -04:00
2020-02-06 14:20:18 -05:00
2021-11-03 17:47:15 -04:00
2022-11-05 11:09:47 -04:00
2022-01-16 14:55:51 -05:00
2022-10-13 21:02:59 -05:00
2017-02-18 22:27:34 -05:00
2017-02-18 22:27:34 -05:00
2022-09-28 21:29:04 -05:00
2019-05-16 00:12:21 -07:00
2022-11-06 10:36:57 -05:00
2022-10-15 15:10:11 -05:00
2020-01-19 21:57:28 -06:00
2022-08-30 23:29:41 -05:00
2022-05-07 22:32:02 -05:00
2022-06-04 14:00:21 -04:00
2022-10-29 21:22:01 -04:00
2022-07-02 21:46:00 -05:00
2022-09-01 18:48:28 -05:00
2022-08-20 03:15:58 -05:00
2019-09-05 14:12:56 +10:00
2022-10-29 16:38:15 -04:00
2022-10-29 16:38:15 -04:00
2022-10-29 16:38:15 -04:00
2021-10-24 16:06:22 -05:00
2021-08-31 01:24:21 -05:00
2022-09-01 18:48:28 -05:00
2022-10-29 19:49:48 -04:00
2022-01-02 21:06:31 -06:00
2022-09-01 18:48:28 -05:00
2022-10-29 21:22:17 -04:00
2022-11-05 11:13:02 -04:00
2022-09-28 02:31:05 -05:00
2022-07-14 02:10:52 -05:00
2022-05-07 22:32:02 -05:00
2022-11-05 11:09:47 -04:00
2022-11-05 11:09:47 -04:00
2022-10-29 19:48:14 -04:00
2022-11-05 11:13:02 -04:00
2022-05-07 22:32:02 -05:00
2022-09-01 18:48:28 -05:00
2021-02-08 23:06:33 -06:00
2022-08-13 20:40:22 -04:00
2021-09-05 20:29:21 -05:00
2022-09-01 18:48:28 -05:00
2022-08-13 18:16:55 -05:00
2022-07-30 21:00:11 -05:00
2022-07-30 21:00:11 -05:00
2022-10-15 15:10:11 -05:00
2022-11-05 11:09:47 -04:00
2022-11-06 10:36:57 -05:00
2022-07-27 09:00:09 -05:00
2022-09-28 04:08:59 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-08-30 23:29:41 -05:00
2022-05-07 22:32:02 -05:00
2022-11-05 11:13:39 -04:00
2022-07-30 19:18:20 -05:00
2022-11-05 11:09:47 -04:00
2022-11-05 11:09:47 -04:00
2022-07-14 02:10:52 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2021-09-05 01:21:23 -05:00
2018-03-04 13:54:28 -05:00
2018-03-04 02:19:12 -05:00
2020-01-03 17:25:53 -06:00
2022-11-05 11:13:02 -04:00
2022-05-06 19:50:03 -04:00
2020-02-06 01:52:35 -05:00
2022-07-14 02:10:52 -05:00
2022-02-07 07:48:52 -05:00
2022-09-01 18:48:28 -05:00
2020-05-17 18:36:06 -07:00
2022-07-14 02:10:52 -05:00
2022-09-03 10:57:55 -04:00
2022-09-03 10:57:55 -04:00
2019-09-17 00:18:07 -05:00
2016-04-08 20:58:17 -04:00
2022-07-14 02:10:52 -05:00
2022-09-01 18:48:28 -05:00
2022-09-01 18:48:28 -05:00
2022-07-31 13:45:17 -05:00
2022-07-31 13:45:17 -05:00
2022-10-29 19:49:23 -04:00
2022-10-29 19:49:23 -04:00
2022-10-29 19:48:03 -04:00
2022-10-29 19:48:03 -04:00
2021-11-06 17:36:00 -04:00
2017-04-08 21:08:15 -04:00
2016-05-04 03:01:53 -04:00
2022-07-30 19:16:25 -05:00
2022-04-02 17:51:26 -04:00
2021-11-06 17:36:00 -04:00
2021-06-11 13:46:30 -05:00
2022-09-01 18:48:28 -05:00
2022-07-30 21:00:11 -05:00
2022-11-05 11:09:47 -04:00
2019-07-18 00:56:46 -04:00
2021-11-06 17:36:00 -04:00
2020-12-30 18:47:11 -05:00
2021-11-06 17:36:00 -04:00
2022-05-09 20:49:43 -05:00
2022-05-09 20:49:43 -05:00
2022-02-06 13:21:48 -05:00
2022-02-06 13:21:48 -05:00
2022-06-04 14:00:21 -04:00
2022-06-04 14:00:21 -04:00
2022-01-16 18:04:51 -05:00
2022-01-16 18:04:51 -05:00
2022-11-05 08:35:14 -04:00
2022-11-05 08:35:14 -04:00
2022-06-09 17:20:35 -05:00
2020-10-25 23:48:57 -05:00
2022-10-29 21:22:07 -04:00
2022-10-29 21:22:07 -04:00
2021-11-06 17:36:00 -04:00
2022-01-02 21:06:31 -06:00
2021-05-24 20:22:31 -05:00
2022-11-06 10:36:57 -05:00
2022-11-05 11:13:39 -04:00
2022-11-05 11:13:39 -04:00
2022-09-20 13:21:48 -04:00
2017-05-15 15:46:19 -07:00
2021-11-12 21:16:39 -05:00
2020-12-30 18:47:11 -05:00
2021-11-12 21:16:39 -05:00
2021-11-12 21:16:39 -05:00
2021-09-03 20:19:39 -05:00
2022-09-08 07:49:13 -04:00
2022-09-08 07:49:13 -04:00
2022-09-28 04:08:59 -05:00
2022-09-28 04:08:59 -05:00
2019-12-28 22:45:35 -06:00
2022-10-29 16:38:15 -04:00
2022-05-07 22:32:02 -05:00
2022-10-29 21:22:17 -04:00
2022-09-01 18:48:28 -05:00
2022-08-13 20:40:22 -04:00
2022-07-02 13:49:45 -05:00
2020-04-30 11:35:09 -04:00
2022-10-15 15:10:11 -05:00
2022-08-30 23:29:41 -05:00
2022-09-01 18:48:28 -05:00
2022-05-23 19:56:03 -04:00
2022-08-13 18:16:55 -05:00
2022-05-07 22:32:02 -05:00
2022-11-05 11:13:39 -04:00
2022-11-05 11:13:39 -04:00
2022-09-03 17:36:45 -04:00
2020-05-17 18:36:06 -07:00
2019-03-13 22:55:49 -07:00
2019-03-13 22:55:49 -07:00
2022-09-28 04:08:59 -05:00
2018-12-24 14:48:11 -08:00
2022-09-28 04:08:59 -05:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2018-12-24 14:48:11 -08:00
2022-07-14 02:10:52 -05:00
2018-11-07 21:55:12 -08:00
2022-07-27 09:00:09 -05:00
2022-07-31 13:45:17 -05:00
2022-10-29 19:49:23 -04:00
2022-07-05 16:17:55 -05:00
2022-07-30 19:16:25 -05:00
2022-09-01 18:48:28 -05:00
2022-11-05 08:34:29 -04:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-11-05 08:35:14 -04:00
2022-10-29 21:22:07 -04:00
2022-07-05 16:07:41 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2022-07-03 21:33:45 -05:00
2016-05-25 16:10:28 -04:00
2021-11-03 17:47:15 -04:00
2022-07-14 02:10:52 -05:00
2022-09-01 18:48:28 -05:00
2022-09-01 18:48:28 -05:00
2017-11-04 01:27:41 -04:00
2022-07-14 02:10:52 -05:00
2018-10-13 23:53:16 -07:00
2022-07-14 02:10:52 -05:00
2022-07-14 02:10:52 -05:00
2022-06-09 17:22:23 -05:00
2022-09-20 13:21:48 -04:00
2022-09-28 04:08:59 -05:00
2022-09-20 13:21:48 -04:00
2022-10-29 21:22:07 -04:00
2022-10-29 21:22:07 -04:00
2022-09-01 18:48:47 -05:00
2022-02-07 07:48:52 -05:00
2016-07-29 18:26:23 -04:00
2016-07-28 22:50:06 -04:00
2022-07-30 20:36:04 -05:00
2021-09-05 01:21:23 -05:00
2022-09-28 21:03:05 -05:00
2022-05-06 18:12:29 -05:00
2022-09-01 18:48:28 -05:00
2021-03-02 12:39:04 -05:00
2022-07-30 14:28:06 -05:00
2022-10-13 20:59:55 -05:00
2022-10-15 15:10:11 -05:00
2022-10-12 20:14:44 -05:00
2022-11-05 11:13:02 -04:00
2022-11-05 11:13:02 -04:00
2022-10-29 16:38:04 -04:00
2022-10-29 16:38:04 -04:00
2022-07-14 02:10:52 -05:00
2021-09-05 01:21:23 -05:00
2022-07-14 02:10:52 -05:00
2022-05-19 20:15:44 -04:00
2022-11-05 11:13:02 -04:00
2022-09-20 13:21:48 -04:00
2022-07-14 02:10:52 -05:00
2017-10-28 10:02:31 -07:00
2021-11-16 08:52:22 -05:00
2022-07-14 02:10:52 -05:00
2016-08-05 01:07:12 -04:00
2016-08-05 01:07:12 -04:00
2019-03-13 22:55:49 -07:00
2016-08-05 01:07:12 -04:00
2022-09-28 04:08:59 -05:00
2016-08-05 01:07:12 -04:00
2022-09-11 13:05:20 -04:00
2022-10-11 20:23:27 -05:00
2022-05-10 06:19:07 -04:00
2017-02-17 21:04:48 -05:00
2017-02-17 21:04:48 -05:00
2022-09-28 04:08:59 -05:00
2022-07-14 02:10:52 -05:00
2021-03-29 02:52:57 -05:00
2022-05-06 20:06:51 -04:00
2020-01-31 20:25:06 -06:00
2022-11-05 11:09:47 -04:00
2022-11-05 11:09:47 -04:00
2022-09-03 10:57:55 -04:00
2022-10-29 16:38:15 -04:00
2022-09-03 10:57:55 -04:00
2022-11-05 11:38:03 -04:00