diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-30 19:27:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-30 19:27:14 +0300 |
commit | 50a97b0ef2a8365d87a8a57047caccb0c050c56b (patch) | |
tree | fb16dc736890604e468ed379786f45989763f4dd /src/map/init.c | |
parent | c3c009a7e2c3ad40048935de0d0538081cf613be (diff) | |
download | evol-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.c | 1 |
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); |