Rain408 Posted October 19, 2015 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 77 Reputation: 0 Joined: 05/23/15 Last Seen: June 4, 2017 Share Posted October 19, 2015 Rogue/stalker skill backstab I want to remove the monster/player rotation on backstab How would I do that? Quote Link to comment Share on other sites More sharing options...
0 Functor Posted October 19, 2015 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 352 Reputation: 267 Joined: 09/08/13 Last Seen: Friday at 07:14 AM Share Posted October 19, 2015 Open ../src/map/skill.c and in the function skill_castend_damage_id change: 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; to: 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); } else if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); } break; 2 Quote Link to comment Share on other sites More sharing options...
0 Rain408 Posted October 20, 2015 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 77 Reputation: 0 Joined: 05/23/15 Last Seen: June 4, 2017 Author Share Posted October 20, 2015 (edited) Open ../src/map/skill.c and in the function skill_castend_damage_id change: 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;to: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); } else if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); } break; I like to ask a follow up question, How would i remove skill delay for just this skill or make skill delay base on agi? Pretty much want it spammable like DS I figure out how to add in ago reduce cast delay, but figure that won't work bc the buff on sniper to big. How do I remove after cast delay for just 1 skill Edited October 20, 2015 by Rain408 Quote Link to comment Share on other sites More sharing options...
0 Azeroth Posted September 14, 2016 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 383 Reputation: 121 Joined: 03/31/12 Last Seen: January 29, 2023 Share Posted September 14, 2016 Open ../src/map/skill.c and in the function skill_castend_damage_id change: 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; to: 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); } else if (sd) clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0); } break; Isn't working are you able to give a working copy for this one need it badly. That would be awesome! Quote Link to comment Share on other sites More sharing options...
0 Quesooo Posted February 20, 2017 Group: Members Topic Count: 197 Topics Per Day: 0.07 Content Count: 883 Reputation: 28 Joined: 02/13/17 Last Seen: November 10, 2022 Share Posted February 20, 2017 i cant understand this where do i change it all and what should i do i need this script because the job rouge on my server when the player use backstab the player turning around towards to backstaber please help me also out thank you please provide step by step thank you again Quote Link to comment Share on other sites More sharing options...
Question
Rain408
Rogue/stalker skill backstab
I want to remove the monster/player rotation on backstab
How would I do that?
Link to comment
Share on other sites
4 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.