Jump to content
  • 0

Block Body Relocation(Snap) while under Spider Web


Question

4 answers to this question

Recommended Posts

Posted

Since you've been such a good friend patskie

 

Find:

   case MO_BODYRELOCATION:
        if (unit_movepos(src, x, y, 1, 1)) {
            clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);
//            clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...
            if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);

It Becomes:

    case MO_BODYRELOCATION:
	if( sd && sd->sc.data[SC_SPIDERWEB] ){
		clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
	}
        if (unit_movepos(src, x, y, 1, 1)) {
            clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);
//            clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...
            if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);


I took that snip of code from HEAD rev of eA, since topic starter uses eA emulator, hope it works

  • Upvote 3

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...