summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-30 19:27:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-30 19:27:14 +0300
commit50a97b0ef2a8365d87a8a57047caccb0c050c56b (patch)
treefb16dc736890604e468ed379786f45989763f4dd /src/map/init.c
parentc3c009a7e2c3ad40048935de0d0538081cf613be (diff)
downloadevol-hercules-50a97b0ef2a8365d87a8a57047caccb0c050c56b.tar.gz
evol-hercules-50a97b0ef2a8365d87a8a57047caccb0c050c56b.tar.bz2
evol-hercules-50a97b0ef2a8365d87a8a57047caccb0c050c56b.tar.xz
evol-hercules-50a97b0ef2a8365d87a8a57047caccb0c050c56b.zip
add map flag what prevent from attacking mobs.
New map flag: nopve
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index a67ddba..c8f2ad3 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -102,6 +102,7 @@ HPExport void plugin_init (void)
addHookPre("pc->setregistry", epc_setregistry);
addHookPre("pc->equipitem_pos", epc_equipitem_pos);
addHookPre("pc->unequipitem_pos", epc_unequipitem_pos);
+ addHookPre("pc->can_attack", epc_can_attack);
addHookPre("npc->checknear", enpc_checknear);
addHookPre("npc->parse_unknown_mapflag", enpc_parse_unknown_mapflag);
addHookPre("clif->quest_send_list", eclif_quest_send_list);