Browse Source

Fixed supportive monsters calling monsters with no assist mode

Daegaladh 4 years ago
parent
commit
c14f05b652
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/map/mob.cpp

+ 1 - 1
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;