Jump to content
  • 0
Sign in to follow this  
mybitch

How to change Back Stab into?

Question

How to change back stab in to..

  1. After using the skill to a player. The player that will be stabbed will not turn. Instead will stay the same place
  2. Reason for this change is to make Back Stab spammable.

How to do this? Thanks!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

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).

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites
  • 0

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.