mybitch 9 Posted May 21, 2013 How to change back stab in to.. After using the skill to a player. The player that will be stabbed will not turn. Instead will stay the same place Reason for this change is to make Back Stab spammable. How to do this? Thanks! Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 21, 2013 Try to comment same lines I've commented here, in skill.c: case RG_BACKSTAP: { uint8 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) { status_change_end(src, SC_HIDING, INVALID_TIMER); skill->attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, flag); // dir = dir < 4 ? dir+4 : dir-4; // change direction [Celest] // unit_setdir(bl,dir); } else if (sd) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); } break; This won't make Back Stab spammable because you'd need to hide again for doing it again. Comment the status_change_end line if you want not to unhide and make it spammable while hidden (I wouldn't reccomend that). Quote Share this post Link to post Share on other sites
0 mybitch 9 Posted May 21, 2013 Try to comment same lines I've commented here, in skill.c: case RG_BACKSTAP: { uint8 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) { status_change_end(src, SC_HIDING, INVALID_TIMER); skill->attack(BF_WEAPON, src, src, bl, skill_id, skill_lv, tick, flag); // dir = dir < 4 ? dir+4 : dir-4; // change direction [Celest] // unit_setdir(bl,dir); } else if (sd) clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); } break; This won't make Back Stab spammable because you'd need to hide again for doing it again. Comment the status_change_end line if you want not to unhide and make it spammable while hidden (I wouldn't reccomend that). How about enable 1st hiding then BS after it . back stable is spammable. Quote Share this post Link to post Share on other sites
0 jaBote 438 Posted May 21, 2013 Sadly, I don't know that much source. That should have something to do with making a new status and while that status is active you should be able to cast it without any restrictions. Don't know about that, sorry. Quote Share this post Link to post Share on other sites
0 mybitch 9 Posted May 21, 2013 ahh thanks. Lets wait for the others hehe. Quote Share this post Link to post Share on other sites
How to change back stab in to..
How to do this? Thanks!
Share this post
Link to post
Share on other sites