From f8abb97d3baa2abf41d2209068c362bd31c7704d Mon Sep 17 00:00:00 2001 From: csnv Date: Wed, 1 Nov 2023 14:11:15 +0100 Subject: [PATCH] Fixed SA_DISPEL not working in duels --- src/map/skill.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/map/skill.c b/src/map/skill.c index 83f362ef1fa..8cb5304d293 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8619,8 +8619,9 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * int splash; if (flag&1 || (splash = skill->get_splash(skill_id, skill_lv)) < 1) { int i; - if( sd && dstsd && !map_flag_vs(sd->bl.m) - && (sd->status.party_id == 0 || sd->status.party_id != dstsd->status.party_id) ) { + if (sd && dstsd && !map_flag_vs(sd->bl.m) + && (sd->status.party_id == 0 || sd->status.party_id != dstsd->status.party_id) + && (sd->duel_group != dstsd->duel_group)) { // Outside PvP it should only affect party members and no skill fail message. break; }