and forgot the skill.c again [Shinomori]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1096 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
01b5716834
commit
bc57643fe7
@ -661,7 +661,7 @@ void map_foreachincell(int (*func)(struct block_list*,va_list),int m,int x,int y
|
||||
* For checking a path between two points (x0, y0) and (x1, y1)
|
||||
*------------------------------------------------------------
|
||||
*/
|
||||
void map_foreachinpath(int (*func)(struct block_list*,va_list),int m,int x0,int y0,int x1,int y1,int range,int length,int type,...)
|
||||
void map_foreachinpath(int (*func)(struct block_list*,va_list),int m,int x0,int y0,int x1,int y1,int range,int type,...)
|
||||
{
|
||||
/* va_list ap;
|
||||
double deltax = 0.0;
|
||||
|
@ -689,7 +689,7 @@ void map_foreachinarea(int (*)(struct block_list*,va_list),int,int,int,int,int,i
|
||||
// -- moonsoul (added map_foreachincell)
|
||||
void map_foreachincell(int (*)(struct block_list*,va_list),int,int,int,int,...);
|
||||
void map_foreachinmovearea(int (*)(struct block_list*,va_list),int,int,int,int,int,int,int,int,...);
|
||||
void map_foreachinpath(int (*func)(struct block_list*,va_list),int m,int x0,int y0,int x1,int y1,int range,int length,int type,...); // Celest
|
||||
void map_foreachinpath(int (*func)(struct block_list*,va_list),int m,int x0,int y0,int x1,int y1,int range,int type,...); // Celest
|
||||
int map_countnearpc(int,int,int);
|
||||
//block関連に追加
|
||||
int map_count_oncell(int m,int x,int y);
|
||||
|
@ -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: /* プレッシャ? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user