summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 433787b8d..e56163ce9 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -870,7 +870,6 @@ static int mob_ai_sub_hard_lootsearch(struct block_list *bl,va_list ap)
(*target) = bl;
md->target_id=bl->id;
md->min_chase=md->db->range3;
- md->next_walktime = gettick() + 500; //So that the mob may go after the item inmediately.
}
return 0;
}
@@ -1131,7 +1130,7 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap)
md->target_id = md->attacked_id; // set target
md->state.aggressive = 0; //Retaliating.
md->attacked_count = 0;
- md->min_chase = dist+md->db->range2;
+ md->min_chase = dist+md->db->range3;
if(md->min_chase>MAX_MINCHASE)
md->min_chase=MAX_MINCHASE;
tbl = abl; //Set the new target