summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-29 05:54:46 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-10-29 05:54:46 +0000
commit08080a5fc10eb6a9fdc2f1285ba32fda57684d29 (patch)
tree9e8ee1a89aa30a22fb7bd40371f29650c7fbfaa0
parentaff887e4fb431946d307b3fbf538a7e105b364be (diff)
downloadhercules-08080a5fc10eb6a9fdc2f1285ba32fda57684d29.tar.gz
hercules-08080a5fc10eb6a9fdc2f1285ba32fda57684d29.tar.bz2
hercules-08080a5fc10eb6a9fdc2f1285ba32fda57684d29.tar.xz
hercules-08080a5fc10eb6a9fdc2f1285ba32fda57684d29.zip
Fixed bugreport:6694 missing hiding function of SC_FEINTBOMB.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16834 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/skill.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 47f01adc1..f7aac952a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -9889,7 +9889,8 @@ int skill_castend_pos2(struct block_list* src, int x, int y, int skillid, int sk
case SC_FEINTBOMB:
clif_skill_nodamage(src,src,skillid,skilllv,1);
skill_unitsetting(src,skillid,skilllv,x,y,0); // Set bomb on current Position
- skill_blown(src,src,6,unit_getdir(src),0);
+ if( skill_blown(src,src,6,unit_getdir(src),0) )
+ skill_castend_nodamage_id(src,src,TF_HIDING,1,tick,0);
break;
case LG_OVERBRAND:
@@ -15138,7 +15139,7 @@ static int skill_unit_timer_sub(DBKey key, DBData *data, va_list ap)
case UNT_FEINTBOMB: {
struct block_list *src = map_id2bl(group->src_id);
if( src )
- map_foreachinrange(skill_area_sub, &group->unit->bl, unit->range, splash_target(src), src, SC_FEINTBOMB, group->skill_lv, tick, BCT_ENEMY|1, skill_castend_damage_id);
+ map_foreachinrange(skill_area_sub, &group->unit->bl, unit->range, splash_target(src), src, SC_FEINTBOMB, group->skill_lv, tick, BCT_ENEMY|SD_ANIMATION|1, skill_castend_damage_id);
skill_delunit(unit);
break;
}