summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index de6349746..b612e6c2f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3535,8 +3535,12 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
}
break;
+ case NPC_SELFDESTRUCTION: {
+ struct status_change *tsc = NULL;
+ if( (tsc = status_get_sc(bl)) && tsc->data[SC_HIDING] )
+ break;
+ }
case HVAN_EXPLOSION:
- case NPC_SELFDESTRUCTION:
if (src != bl)
skill_attack(BF_MISC,src,src,bl,skillid,skilllv,tick,flag);
break;