Spiral pierce immune fix (#6668)

Fixes the inversion of target type being stopped by spiral pierce, ie it should stop normal monsters and not status immune

Fixes #6667
This commit is contained in:
Singe Horizontal 2022-03-14 12:26:50 +01:00 committed by GitHub
parent cf519c0866
commit a032cd1f74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1668,7 +1668,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
case LK_SPIRALPIERCE:
case ML_SPIRALPIERCE:
if( dstsd || ( dstmd && status_bl_has_mode(bl,MD_STATUSIMMUNE) ) ) //Does not work on status immune
if( dstsd || ( dstmd && !status_bl_has_mode(bl,MD_STATUSIMMUNE) ) ) //Does not work on status immune
sc_start(src,bl,SC_STOP,100,0,skill_get_time2(skill_id,skill_lv));
break;