From c14f05b6527bfe677e0ae662fa0c6058fc3259cf Mon Sep 17 00:00:00 2001 From: Daegaladh Date: Thu, 25 Jun 2020 02:55:22 +0200 Subject: [PATCH] Fixed supportive monsters calling monsters with no assist mode --- src/map/mob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/mob.cpp b/src/map/mob.cpp index a29f6c4ae3..f74907f8ba 100644 --- a/src/map/mob.cpp +++ b/src/map/mob.cpp @@ -1009,7 +1009,7 @@ int mob_linksearch(struct block_list *bl,va_list ap) target = va_arg(ap, struct block_list *); tick=va_arg(ap, t_tick); - if (md->mob_id == mob_id && DIFF_TICK(md->last_linktime, tick) < MIN_MOBLINKTIME + if (md->mob_id == mob_id && status_has_mode(&md->status,MD_ASSIST) && DIFF_TICK(md->last_linktime, tick) < MIN_MOBLINKTIME && !md->target_id) { md->last_linktime = tick;