From 127f9b52a4030a655564584b95b7c10dfdcb04e6 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 19 Mar 2015 13:33:42 -0300 Subject: Follow up 145a4fe644c4fe856ba6f83086e8ee5075caad99 Thanks to Mordekaiser for pointing this scenario to us. Signed-off-by: shennetsind --- src/map/battle.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/battle.c b/src/map/battle.c index 9def70dd7..e983eebc6 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6516,6 +6516,8 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f ) { if( t_bl->type == BL_PC && (sd->duel_group == ((TBL_PC*)t_bl)->duel_group) ) return (BCT_ENEMY&flag)?1:-1; // Duel targets can ONLY be your enemy, nothing else. + else if ( src->type != BL_SKILL || (flag&BCT_ENEMY) ) + return 0; } } if( map_flag_gvg(m) && !sd->status.guild_id && t_bl->type == BL_MOB && ((TBL_MOB*)t_bl)->class_ == MOBID_EMPERIUM ) -- cgit v1.2.3-60-g2f50 From fc74a8b00e2da0a290950b3f19d7bcc4b8d3276c Mon Sep 17 00:00:00 2001 From: Inzianity Date: Fri, 20 Mar 2015 00:43:32 +0800 Subject: Fix for "Solo at Sphinx Dungeon!" Quest Solo at Sphinx Dungeon Quest should require Zerom to be hunted. --- db/quest_db.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/quest_db.conf b/db/quest_db.conf index 38b6441a7..7c2fcb591 100644 --- a/db/quest_db.conf +++ b/db/quest_db.conf @@ -99,7 +99,7 @@ quest_db: ( Name: "Solo at Sphinx Dungeon!" Targets: ( { - MobId: 2687 + MobId: 1178 Count: 20 }, ) -- cgit v1.2.3-60-g2f50