summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-02 19:22:04 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-02 19:22:04 +0300
commit58e216614ba0b1806a417f2cc2ea2323bbb230cf (patch)
treef4dabeb369de95b92325bb52de91568ff8245d26 /src/emap/init.c
parent9656a691e1c8c68f7832f33b3777217f8953ba11 (diff)
downloadplugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.tar.gz
plugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.tar.bz2
plugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.tar.xz
plugin-58e216614ba0b1806a417f2cc2ea2323bbb230cf.zip
Add support for spawn collision for mobs.s20161024s20161017s20161004
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 948e10c..341f9dd 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -226,6 +226,7 @@ HPExport void plugin_init (void)
addHookPre(pc, process_chat_message, epc_process_chat_message_pre);
addHookPre(mob, deleteslave_sub, emob_deleteslave_sub_pre);
addHookPre(mob, read_db_additional_fields, emob_read_db_additional_fields_pre);
+ addHookPre(mob, dead, emob_dead_pre);
addHookPre(npc, parse_unknown_mapflag, enpc_parse_unknown_mapflag_pre);
addHookPre(npc, buysellsel, enpc_buysellsel_pre);
addHookPre(npc, db_checkid, enpc_db_checkid_pre);
@@ -306,6 +307,7 @@ HPExport void plugin_init (void)
addHookPost(status, change_end_, estatus_change_end__post);
addHookPost(map, addflooritem, emap_addflooritem_post);
addHookPost(mob, read_db_mode_sub, emob_read_db_mode_sub_post);
+ addHookPost(mob, spawn_dataset, emob_spawn_dataset_post);
addHookPost(npc, get_viewdata, enpc_get_viewdata_post);
addHookPost(skill, check_condition_castend, eskill_check_condition_castend_post);
addHookPost(skill, get_index, eskill_get_index_post);