Jump to content
  • 0

help for @clone into skill


Kuneho

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

Help how to make skill that using @slaveclone or @clone 
and im new on this one Thanks more power

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  59
  • Reputation:   2
  • Joined:  08/01/12
  • Last Seen:  

Solve BY on discord

Stolao Edited by Kuneho
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

helped in discord

		int x=0,y=0,i=0,master = 0;
		struct map_session_data *pl_sd=NULL;

		master = sd->bl.id;
		if ( mob_countslave(&sd->bl) >= 1)
				return 0;

		do {
			x = sd->bl.x + (rnd() % 10 - 5);
			y = sd->bl.y + (rnd() % 10 - 5);
		} while (map_getcell(sd->bl.m,x,y,CELL_CHKNOPASS) && i++ < 10);

		if (i >= 10) {
			x = sd->bl.x;
			y = sd->bl.y;
		}
		pl_sd = map_nick2sd((char *)sd->status.name);
		mob_clone_spawn(pl_sd, sd->bl.m, x, y, "", master, 0, 2, 0);
		}
		break;
Edited by Stolao
  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

mind sharing guys? =) /thx

Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

mind sharing guys? =) /thx

did above

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

 

mind sharing guys? =) /thx

did above

 

lol sorry i didn't notice due to slow internet connections thanks anyways +1 /thx

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