Jump to content
  • 0

unitskillusepos don't work?


luizragna

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

Hello guys!
I want make the poporing useskill in other mob.

In this case, he cast, but don't happen anything.

payon,162,219,4	script	Unit Master	101,{
	
	
		.amount = 1;

		monster ("payon",167,215,"Poporing",1031,.amount);
		for (.@i = 0; .@i < .amount; .@i++) {
		.mid = $@mobid[.@i];
		setunitdata .mid,UMOB_LEVEL,1;
		setunitdata .mid,UMOB_MAXHP,10000;
		setunitdata .mid,UMOB_ATKMIN,10000;
		setunitdata .mid,UMOB_ATKMAX,21000;
		setunitdata .mid,UMOB_MATKMIN,10000;
		setunitdata .mid,UMOB_MATKMAX,21000;
		setunitdata .mid,UMOB_HIT,10000;
		setunitdata .mid,UMOB_ATKRANGE,5;
		setunitdata .mid,UMOB_ADELAY,100;
		}
		
		monster ("payon",172,215,"Mandragora",1020,.amount);
		
		//unitskilluseid .mid,19,2,1020;
		unitskillusepos .mid,19,3,172,215; //Fire Bolt

}

screenrAthena015.thumb.jpg.256237ec8fbb2ede7d50b350152c7532.jpgscreenrAthena016.thumb.jpg.878782860657910f4fa181d1f55ed87a.jpg

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  303
  • Reputation:   117
  • Joined:  12/10/16
  • Last Seen:  

Maybe because you're casting a targeted skill to the ground?

payon,162,219,4	script	Unit Master	101,{

	.@amount = 1;
	for (.@i = 0; .@i < .@amount; .@i++) {
		monster ("payon",167,215,"Poporing",1031,.@amount);
		.@mid[.@i] = $@mobid[0];
		setunitdata .@mid[.@i],UMOB_LEVEL,1;
		setunitdata .@mid[.@i],UMOB_MAXHP,10000;
		setunitdata .@mid[.@i],UMOB_ATKMIN,10000;
		setunitdata .@mid[.@i],UMOB_ATKMAX,21000;
		setunitdata .@mid[.@i],UMOB_MATKMIN,10000;
		setunitdata .@mid[.@i],UMOB_MATKMAX,21000;
		setunitdata .@mid[.@i],UMOB_HIT,10000;
		setunitdata .@mid[.@i],UMOB_ATKRANGE,5;
		setunitdata .@mid[.@i],UMOB_ADELAY,100;
	}

	monster ("payon",172,215,"Mandragora",1020,.@amount);
	.@target = $@mobid[0];
	unitskilluseid .@mid[0],19,3,.@target;
	end;

}

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

@n0tttt  he conjured but the ability did not come out

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  107
  • Reputation:   27
  • Joined:  02/12/14
  • Last Seen:  

43 minutes ago, luizragna said:

@n0tttt  he conjured but the ability did not come out

Solved, i added AI to mob.

monster ("payon",167,215,"Poporing",1031,.amount,"",0,AI_ATTACK);
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...