if ((mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground))) { // only NJ_ISSEN don't have slide effect in GVG
clif->slide(src, src->x, src->y);
clif->fixpos(src);
clif->spiritball(src);
}
}
break;
It didn't work sir. it just keep staying in one cell when casting asura. can u make it move to 1cell but it will slide or walk? like the old one in eathena.Change this line:
if ((mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground))) { // only NJ_ISSEN don't have slide effect in GVGif (!(unit->movepos(src, mbl->x+x, mbl->y+y, 1, 1))) {// The cell is not reachable (wall, object, ...), move next to the targetif (x > 0) x = -1;else if (x < 0) x = 1;if (y > 0) y = -1;else if (y < 0) y = 1;unit->movepos(src, bl->x+x, bl->y+y, 1, 1);}clif->slide(src, src->x, src->y);clif->fixpos(src);clif->spiritball(src);}}break;to this:Code:if ((mbl == src || (!map_flag_gvg2(src->m) && !map->list[src->m].flag.battleground))) { // only NJ_ISSEN don't have slide effect in GVG clif->slide(src, src->x, src->y); clif->fixpos(src); clif->spiritball(src); } } break;
We use essential cookies to make this site work, and optional cookies to enhance your experience.