From b65de941eec4f8dd18583c9b583128bcd6b8236b Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Mon, 8 Jun 2009 19:54:34 +0000 Subject: Follow up to r13867, corrected the newly added MD_TARGETWEAK. Monsters with this mode will now only target players five level LOWER than itself. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13869 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') 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) -- cgit v1.2.3-60-g2f50