diff options
author | skyleo <skyleo@skyleo.de> | 2019-10-15 02:15:21 +0200 |
---|---|---|
committer | skyleo <skyleo@skyleo.de> | 2019-10-18 22:52:13 +0200 |
commit | 9858bb5591f495b0e622391a00297366b972e09a (patch) | |
tree | ecbf09fe710a731d9a17a295934bdfb8281158b8 /src/map/battle.c | |
parent | d026e28fd78f60dfa21da381f17f2a8cc9ae3d11 (diff) | |
download | hercules-9858bb5591f495b0e622391a00297366b972e09a.tar.gz hercules-9858bb5591f495b0e622391a00297366b972e09a.tar.bz2 hercules-9858bb5591f495b0e622391a00297366b972e09a.tar.xz hercules-9858bb5591f495b0e622391a00297366b972e09a.zip |
Make slave mobs react to master's chase target
This fixes slaves not chasing after master's chase target,
when master was immobilized by an Ankle Snare for example midway.
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 37fc03bca..606c79357 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -4343,7 +4343,7 @@ static struct Damage battle_calc_misc_attack(struct block_list *src, struct bloc } break; } - + battle->reflect_trap(target, src, &md, skill_id); return md; @@ -7321,6 +7321,7 @@ static const struct battle_data { { "mob_remove_delay", &battle_config.mob_remove_delay, 60000, 1000, INT_MAX, }, { "mob_active_time", &battle_config.mob_active_time, 0, 0, INT_MAX, }, { "boss_active_time", &battle_config.boss_active_time, 0, 0, INT_MAX, }, + { "slave_chase_masters_chasetarget", &battle_config.slave_chase_masters_chasetarget, 1, 0, 1, }, { "sg_miracle_skill_duration", &battle_config.sg_miracle_skill_duration, 3600000, 0, INT_MAX, }, { "hvan_explosion_intimate", &battle_config.hvan_explosion_intimate, 45000, 0, 100000, }, { "quest_exp_rate", &battle_config.quest_exp_rate, 100, 0, INT_MAX, }, |