Jump to content
  • 0

Requesting MVP Summoner


Yoona

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Hi guys! well i have a different idea of this kind of script ~ so let me explain it.

 

 

 

so here, Everytime A Player kills an MVP's there will be 30 ~ 50% chance of summoning a single treasure chest ( randomly from each castle's )

 

 

 

 

Well i hope you guys can help me with this. thanks! rAthena! 

 

 

 

 

( Got this idea from Aura Kingdom.. anyone here playing aura kingdom? Raise your hands! ) hahaha!

Edited by Yoona
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Where do you want the tbox to be spawned, on their castle, or current position?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

Where do you want the tbox to be spawned, on their castle, or current position?

 

at the same place where Player killed the MVP.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

-	script	tbox	-1,{

OnNPCKillEvent:
	if(getmonsterinfo(killedrid,22) > 1) {
		getmapxy(.@mvp$,.@mx,.@my,0);
		if(rand(100) < 40) monster .@mvp$,.@mx,.@my,"--ja--",1234,1;
	}
end;

}

change 1234 to tbox ID

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  567
  • Reputation:   18
  • Joined:  04/15/13
  • Last Seen:  

-	script	tbox	-1,{

OnNPCKillEvent:
	if(getmonsterinfo(killedrid,22) > 1) {
		getmapxy(.@mvp$,.@mx,.@my,0);
		if(rand(100) < 40) monster .@mvp$,.@mx,.@my,"--ja--",1234,1;
	}
end;

}

change 1234 to tbox ID

 

 

what if summoning tbox will be random from different castle like the one Kriemhild summon then from scared_altar tbox. 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  949
  • Reputation:   174
  • Joined:  06/12/12
  • Last Seen:  

Here you go, just edit the mob ids.

-	script	tbox	-1,{

OnNPCKillEvent:
	if(getmonsterinfo(killedrid,22) > 1) {
		getmapxy(.@mvp$,.@mx,.@my,0);
		setarray .@T_Box[0],1111,2222,3333,4444; //Edit to Treasure Box MOB Ids
		if(rand(10) < 4) monster .@mvp$,.@mx,.@my,"--ja--",.@T_Box[rand(getarraysize(.@T_Box))],1;
	}
end;


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