summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-15 22:04:30 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-15 22:04:30 -0300
commit8eb5d96c3394c619797a44f244dc5a0644ddf40c (patch)
treeef326c86a1d5f79d1cf91dfdb8d8afc52f1895c2 /src/emap/init.c
parent85c88e6ce91086d5c061df3b66d423a5ddcdfb9b (diff)
downloadevol-hercules-8eb5d96c3394c619797a44f244dc5a0644ddf40c.tar.gz
evol-hercules-8eb5d96c3394c619797a44f244dc5a0644ddf40c.tar.bz2
evol-hercules-8eb5d96c3394c619797a44f244dc5a0644ddf40c.tar.xz
evol-hercules-8eb5d96c3394c619797a44f244dc5a0644ddf40c.zip
Magic Attacks may now crit.
Perfect Dodge / Blocking will now work versus magic as well. Infinite Defense rules respected.
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index 8cfa95d..bd42f4a 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -383,7 +383,7 @@ HPExport void plugin_init (void)
//addHookPost(skill, castend_type, eskill_castend_type_post);
addHookPost(battle, calc_weapon_attack, ebattle_calc_weapon_attack_post);
- addHookPost(battle, calc_magic_attack, ebattle_calc_weapon_attack_post);
+ addHookPost(battle, calc_magic_attack, ebattle_calc_magic_attack_post);
addHookPost(battle, calc_misc_attack, ebattle_calc_weapon_attack_post);
addHookPost(battle, check_arrows, ebattle_check_arrows_post);
addHookPost(clan, join, eclan_join_post);