Skip to content

Commit

Permalink
Fixed SA_DISPEL not working in duels
Browse files Browse the repository at this point in the history
  • Loading branch information
csnv committed Nov 1, 2023
1 parent b097666 commit f8abb97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/map/skill.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f8abb97

Please sign in to comment.