summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 1dbc29757..13523d94e 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -967,7 +967,7 @@ static int mob_ai_sub_hard_activesearch(struct block_list *bl,va_list ap)
if ((*target) == bl || !status_check_skilluse(&md->bl, bl, 0, 0))
return 0;
- if ((mode&MD_TARGETWEAK) && status_get_lv(bl) >= md->level+5)
+ if ((mode&MD_TARGETWEAK) && status_get_lv(bl) >= md->level-5)
return 0;
if(battle_check_target(&md->bl,bl,BCT_ENEMY)<=0)