summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/quest_db.conf2
-rw-r--r--src/map/battle.c2
2 files changed, 3 insertions, 1 deletions
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
},
)
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 )