diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2015-05-03 17:24:35 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2015-05-03 17:24:35 +0800 |
commit | 85b47e326ad041744606c3e71a8ca67b4b34c313 (patch) | |
tree | 830155faa45a857b318222bceabcd015909ad678 /src/map/battle.c | |
parent | ce734bfcd5eb153ea93874b4b94effb5eee91e46 (diff) | |
download | hercules-85b47e326ad041744606c3e71a8ca67b4b34c313.tar.gz hercules-85b47e326ad041744606c3e71a8ca67b4b34c313.tar.bz2 hercules-85b47e326ad041744606c3e71a8ca67b4b34c313.tar.xz hercules-85b47e326ad041744606c3e71a8ca67b4b34c313.zip |
Fixed Bug#8650
-http://hercules.ws/board/tracker/issue-8650-minstrel-poem-of-netherworld-or-despair-song-skillleffect/?gopid=25083#entry25083
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 31b04ad44..ad151ac6c 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6385,7 +6385,9 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f TBL_SKILL *su = (TBL_SKILL*)target; if( !su->group ) return 0; - if( skill->get_inf2(su->group->skill_id)&INF2_TRAP && su->group->unit_id != UNT_USED_TRAPS) { //Only a few skills can target traps... + if( skill->get_inf2(su->group->skill_id)&INF2_TRAP && + su->group->unit_id != UNT_USED_TRAPS && + su->group->unit_id != UNT_NETHERWORLD ) { //Only a few skills can target traps... switch( battle->get_current_skill(src) ) { case RK_DRAGONBREATH:// it can only hit traps in pvp/gvg maps case RK_DRAGONBREATH_WATER: |