summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshenhuyong <shenhuyong@hotmail.com>2013-09-29 22:17:00 +0800
committershenhuyong <shenhuyong@hotmail.com>2013-09-29 22:17:00 +0800
commitea84a19426cd401615421ee3f3d2eff2d741beb7 (patch)
treed1a8a4a9dde6e1b427f396f09466f8b9ba191399 /src/map
parent0cb62ae21be8b9253b7eb50b9b81d8221ed43a67 (diff)
downloadhercules-ea84a19426cd401615421ee3f3d2eff2d741beb7.tar.gz
hercules-ea84a19426cd401615421ee3f3d2eff2d741beb7.tar.bz2
hercules-ea84a19426cd401615421ee3f3d2eff2d741beb7.tar.xz
hercules-ea84a19426cd401615421ee3f3d2eff2d741beb7.zip
skill->castend_nodamage_id instead of skill_castend_nodamage_id
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ae69738a6..148f2bccf 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8062,7 +8062,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
int rate = 45 + 5 * skill_lv;
if( rnd()%100 < rate ){
clif->skill_nodamage(src, bl, skill_id, skill_lv, 1);
- map->foreachinrange(skill->area_sub,bl,skill->get_splash(skill_id,skill_lv),BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|1,skill_castend_nodamage_id);
+ map->foreachinrange(skill->area_sub,bl,skill->get_splash(skill_id,skill_lv),BL_CHAR,src,skill_id,skill_lv,tick,flag|BCT_ENEMY|1,skill->castend_nodamage_id);
}else if( sd ) // Failure on Rate
clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
}
@@ -8923,7 +8923,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui
status_zap(bl, 0, status_get_max_sp(bl) * (25 + 5 * skill_lv) / 100);
}
} else if ( sd ) {
- map->foreachinrange(skill->area_sub, bl, skill->get_splash(skill_id, skill_lv), BL_CHAR,src, skill_id, skill_lv, tick, flag|BCT_ENEMY|1, skill_castend_nodamage_id);
+ map->foreachinrange(skill->area_sub, bl, skill->get_splash(skill_id, skill_lv), BL_CHAR,src, skill_id, skill_lv, tick, flag|BCT_ENEMY|1, skill->castend_nodamage_id);
clif->skill_nodamage(bl, src, skill_id, skill_lv, 1);
}
break;