diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index cc3c034dc..9f7ec7b15 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3320,6 +3320,11 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in case SA_MONOCELL: if (dstmd) { + if ( dstmd->status.mode&MD_BOSS ) + { + clif_skill_fail(sd,skillid,0,0); + break; + } int class_ = skillid==SA_MONOCELL?1002:mob_get_random_id(2, 1, 0); clif_skill_nodamage(src,bl,skillid,skilllv,1); mob_class_change(dstmd,class_); @@ -3334,6 +3339,11 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in } break; case SA_DEATH: + if ( dstmd && dstmd->status.mode&MD_BOSS ) + { + clif_skill_fail(sd,skillid,0,0); + break; + } clif_skill_nodamage(src,bl,skillid,skilllv,1); status_kill(bl); break; |