Skip to content

Commit

Permalink
Remove special dispell logic for songs in RE
Browse files Browse the repository at this point in the history
Since RE no longer has "song areas", this check does not make sense for
RE
  • Loading branch information
guilherme-gm committed Jun 2, 2024
1 parent 584e77f commit 4d6da45
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/map/skill.c
Original file line number Diff line number Diff line change
Expand Up @@ -8822,6 +8822,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
continue;
}
switch (i) {
#ifndef RENEWAL
/**
* bugreport:4888 these songs may only be dispelled if you're not in their song area anymore
**/
Expand All @@ -8833,9 +8834,11 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
case SC_DONTFORGETME:
case SC_FORTUNE:
case SC_SERVICEFORYOU:
if( tsc->data[i]->val4 ) //val4 = out-of-song-area
if (tsc->data[i]->val4 != 0) // val4 = out-of-song-area
continue;
break;
#endif

case SC_ASSUMPTIO:
if( bl->type == BL_MOB )
continue;
Expand Down

0 comments on commit 4d6da45

Please sign in to comment.