PewN Posted May 8, 2012 Posted May 8, 2012 how to edit the backstab skill available on all direction?? please help me here Quote
malufett Posted May 8, 2012 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
Question
PewN
how to edit the backstab skill available on all direction??
please help me here
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.