summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-19 22:47:13 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-19 22:47:58 +0300
commite9c417bf5fed6603cf562033051e1fcf999f000f (patch)
tree1d1abc1d61979e2ea2d51bb04faa03e0cec7397b /src/emap/init.c
parent22de9739a421f21879b96c04ca97fc5f42cc0633 (diff)
downloadevol-hercules-e9c417bf5fed6603cf562033051e1fcf999f000f.tar.gz
evol-hercules-e9c417bf5fed6603cf562033051e1fcf999f000f.tar.bz2
evol-hercules-e9c417bf5fed6603cf562033051e1fcf999f000f.tar.xz
evol-hercules-e9c417bf5fed6603cf562033051e1fcf999f000f.zip
Allow death penalty for any jobs.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 9e424c7..f1ff8ff 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -238,6 +238,7 @@ HPExport void plugin_init (void)
addHookPre(pc, calc_skilltree_bonus, epc_calc_skilltree_bonus_pre);
addHookPre(pc, checkbaselevelup_sc, epc_checkbaselevelup_sc_pre);
addHookPre(pc, resetskill_job, epc_resetskill_job_pre);
+ addHookPre(pc, isDeathPenaltyJob, epc_isDeathPenaltyJob_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);