summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-27 22:28:22 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-27 22:28:22 +0300
commit9dc859a78058ce358c1e3a0ab41c78f7fd198689 (patch)
tree8b015e179ea3fe331b858d46553dfe365c2cf5f0 /src/emap/init.c
parentfd4184140cd6f61243035398391adec06de5666c (diff)
downloadevol-hercules-9dc859a78058ce358c1e3a0ab41c78f7fd198689.tar.gz
evol-hercules-9dc859a78058ce358c1e3a0ab41c78f7fd198689.tar.bz2
evol-hercules-9dc859a78058ce358c1e3a0ab41c78f7fd198689.tar.xz
evol-hercules-9dc859a78058ce358c1e3a0ab41c78f7fd198689.zip
Hook set/get npc string variables.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 17b1841..1441487 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -172,6 +172,9 @@ HPExport void plugin_init (void)
addHookPre("script->set_reg_npc_num", escript_set_reg_npc_num);
addHookPre("script->get_val_npc_num", escript_get_val_npcscope_num);
addHookPre("script->get_val_ref_num", escript_get_val_npcscope_num);
+ addHookPre("script->set_reg_npc_str", escript_set_reg_npc_str);
+ addHookPre("script->get_val_npc_str", escript_get_val_npcscope_str);
+ addHookPre("script->get_val_ref_str", escript_get_val_npcscope_str);
addHookPre("status->calc_pc_additional", estatus_calc_pc_additional);
addHookPost("clif->getareachar_unit", eclif_getareachar_unit_post);