PewN Posted May 8, 2012 Share Posted May 8, 2012 how to edit the backstab skill available on all direction?? please help me here Quote Link to comment Share on other sites More sharing options...
malufett Posted May 8, 2012 Share Posted May 8, 2012 @skill.c case RG_BACKSTAP: { -int dir = map_calc_dir(src, bl->x, bl->y), t_dir = unit_getdir(bl); -if ((!check_distance_bl(src, bl, 0) && !map_check_dir(dir, t_dir)) || bl->type == BL_SKILL) { +if (!check_distance_bl(src, bl, 0) || bl->type == BL_SKILL) { status_change_end(src, SC_HIDING, INVALID_TIMER); skill_attack(BF_WEAPON, src, src, bl, skillid, skilllv, tick, flag); -dir = dir < 4 ? dir+4 : dir-4; // change direction [Celest] -unit_setdir(bl,dir); } else if (sd) clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0); } break; edit and recompile Quote Link to comment Share on other sites More sharing options...
PewN Posted May 8, 2012 Author Share Posted May 8, 2012 ok sir thx. i will try this Quote Link to comment Share on other sites More sharing options...
how to edit the backstab skill available on all direction??
please help me here
Link to comment
Share on other sites