summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 12ad89e1c..803d8f9fc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2297,8 +2297,11 @@ int skill_castend_damage_id( struct block_list* src, struct block_list *bl,int s
break;
case SN_SHARPSHOOTING: /* シャ?プシュ?ティング */
- map_foreachinpath (skill_attack_area,src->m,src->x,src->y,bl->x,bl->y,0,
- BF_WEAPON,src,src,skillid,skilllv,tick,flag,BCT_ENEMY);
+ map_foreachinpath (skill_attack_area,src->m, // function, map
+ src->x,src->y, // source xy
+ bl->x,bl->y, // target xy
+ 2,0, // range, type
+ BF_WEAPON,src,src,skillid,skilllv,tick,flag,BCT_ENEMY); // varargs
break;
case PA_PRESSURE: /* プレッシャ? */