diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-15 23:48:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-15 23:48:51 +0300 |
commit | c7a03f4a20ae7a39277417ee566211f7dd94130a (patch) | |
tree | 6ffe7c82956bc2163abfe7ddaa8c8702bee0fbe4 /src/map/init.c | |
parent | 5391b33e088ebf7c88766abf3a622a6b4b52a2cf (diff) | |
download | plugin-c7a03f4a20ae7a39277417ee566211f7dd94130a.tar.gz plugin-c7a03f4a20ae7a39277417ee566211f7dd94130a.tar.bz2 plugin-c7a03f4a20ae7a39277417ee566211f7dd94130a.tar.xz plugin-c7a03f4a20ae7a39277417ee566211f7dd94130a.zip |
map: add attribute for mobs for stand slaves alive after muster was dead
New mob attribute: 0x8000
Diffstat (limited to 'src/map/init.c')
-rw-r--r-- | src/map/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c index d7ba9f2..60d8540 100644 --- a/src/map/init.c +++ b/src/map/init.c @@ -40,6 +40,7 @@ #include "map/itemdb.h" #include "map/lang.h" #include "map/map.h" +#include "map/mob.h" #include "map/npc.h" #include "map/unit.h" #include "map/parse.h" @@ -113,6 +114,7 @@ HPExport void plugin_init (void) addHookPre("pc->can_attack", epc_can_attack); addHookPre("pc->takeitem", epc_takeitem); addHookPre("pc->validate_levels", epc_validate_levels); + addHookPre("mob->deleteslave_sub", emob_deleteslave_sub); addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag); addHookPre("npc->buysellsel", enpc_buysellsel); addHookPre("npc->db_checkid", enpc_db_checkid); |