diff options
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 98a4e2dc8..8802a3678 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9288,7 +9288,9 @@ int skill_landprotector (struct block_list *bl, va_list ap) } //Delete the rest of types. case HW_GANBANTEIN: - if(skill_get_type(unit->group->skill_id) == BF_MAGIC) + //Update: It deletes everything except songs/dances/encores. + if(!unit->group->state.song_dance) +// if(skill_get_type(unit->group->skill_id) == BF_MAGIC) { //Delete Magical effects skill_delunit(unit, 1); return 1; @@ -9319,7 +9321,9 @@ int skill_landprotector (struct block_list *bl, va_list ap) break; } if (unit->group->skill_id == SA_LANDPROTECTOR && - skill_get_type(skillid) == BF_MAGIC) + //Update: It deletes everything except songs/dances/encores. + !(skill_get_inf2(skillid)&(UF_DANCE|UF_SONG|UF_ENSEMBLE))) +// skill_get_type(skillid) == BF_MAGIC) { //Magic tile won't be activated (*alive) = 0; return 1; |