Jump to content

Question

Posted (edited)

can anyone know why my problems any use of these skills have to click 2x the target destination.

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

Edited by Yasunari Ishibashi

6 answers to this question

Recommended Posts

Posted (edited)

I've followed the instructions but still the same result

   case MO_BODYRELOCATION:

	if (unit_movepos(src, x, y, 1, 1)) {

		clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick);
#if PACKETVER >= 20111122
	    clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client...
#endif
		if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000);

whether it should be changed as above?

Edited by Yasunari Ishibashi
Posted

oh here

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);
}
break;

make sure to recompile afterwards

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