Jump to content
  • 0
Ukiram

Block Body Relocation while Spider Web

Question

3 answers to this question

Recommended Posts

  • 0

open skill.cpp

Find

	case MO_BODYRELOCATION:
		if (unit_movepos(src, x, y, 2, 1)) {
#if PACKETVER >= 20111005
			clif_snap(src, src->x, src->y);
#else
			clif_skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick);
#endif
			if (sd)
				skill_blockpc_start(sd, MO_EXTREMITYFIST, 2000);
		}
		break;

Replace to:

	case MO_BODYRELOCATION:

		// Block skill usage while you have SC_SPIDERWEB status
		if(sc&& sc->data[SC_SPIDERWEB])
			break;

		if (unit_movepos(src, x, y, 2, 1)) {
#if PACKETVER >= 20111005
			clif_snap(src, src->x, src->y);
#else
			clif_skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick);
#endif
			if (sd)
				skill_blockpc_start(sd, MO_EXTREMITYFIST, 2000);
		}
		break;

 

Edited by anacondaq
  • Upvote 1
Link to comment
Share on other sites

  • 0
8 hours ago, anacondaq said:

open skill.cpp

Find

	case MO_BODYRELOCATION:
		if (unit_movepos(src, x, y, 2, 1)) {
#if PACKETVER >= 20111005
			clif_snap(src, src->x, src->y);
#else
			clif_skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick);
#endif
			if (sd)
				skill_blockpc_start(sd, MO_EXTREMITYFIST, 2000);
		}
		break;

Replace to:

	case MO_BODYRELOCATION:

		// Block skill usage while you have SC_SPIDERWEB status
		if(sc&& sc->data[SC_SPIDERWEB])
			break;

		if (unit_movepos(src, x, y, 2, 1)) {
#if PACKETVER >= 20111005
			clif_snap(src, src->x, src->y);
#else
			clif_skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick);
#endif
			if (sd)
				skill_blockpc_start(sd, MO_EXTREMITYFIST, 2000);
		}
		break;

 

THANK YOU FOR THIS. I WILL TRY THIS. THIS WILL BE SUPER APPRECIATED.

Link to comment
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.   Paste as plain text instead

  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.



×
×
  • Create New...

Important Information

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