seacucumber
New member
- Messages
- 3
- Points
- 0
how do i add the skill delay checker?
Kindly post some help or guide for this one sir?i think i got it..
is it right sir ??
bool bot_check_target(struct block_list *src, unsigned int id){ struct block_list *bl = map->id2bl(id); if (bl) { if (path->search(NULL, bl, src->m, src->x, src->y, bl->x, bl->y, 1, CELL_CHKNOREACH) && distance_xy(src->x, src->y, bl->x, bl->y) < 11) { TBL_MOB *md = BL_CAST(BL_MOB, bl); if (md) { if (md->status.hp > 0) { return true; } } } } return false;}
bool bot_check_target(struct block_list *src, unsigned int id){ struct block_list *bl = map->id2bl(id); if (bl) { if (path->search(NULL, bl, src->m, src->x, src->y, bl->x, bl->y, 1, CELL_CHKNOREACH) && distance_xy(src->x, src->y, bl->x, bl->y) < 11) { TBL_MOB *md = BL_CAST(BL_MOB, bl); if (md) { if (md->status.hp > 0) { return true; } } } } return false;}
recompile is success.. but i dont know if its right
edit**
DOOOONE~~~
ITS WORK GUUYS~~~
domo arigatouuu /bow
><
Love you guuuysss~
We use essential cookies to make this site work, and optional cookies to enhance your experience.