Jump to content
  • 0

Block Body Relocation(Snap) while under Spider Web


rqueen

Question


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Hello. Any source mod I can do so when a Professor casts Spider Web on a Champion, he won't be able to move away using Body Relocation?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  178
  • Reputation:   16
  • Joined:  06/25/12
  • Last Seen:  

Hello i've sent you a fix regarding this :)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Hello i've sent you a fix regarding this :)

It would be good if you post this on public.  :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  82
  • Reputation:   1
  • Joined:  04/30/13
  • Last Seen:  

Thank you so much!!

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