Yoona Posted March 13, 2014 Group: Members Topic Count: 153 Topics Per Day: 0.03 Content Count: 567 Reputation: 18 Joined: 04/15/13 Last Seen: April 21, 2016 Share Posted March 13, 2014 (edited) 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 March 13, 2014 by Yoona Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 13, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 13, 2014 Where do you want the tbox to be spawned, on their castle, or current position? Quote Link to comment Share on other sites More sharing options...
Yoona Posted March 13, 2014 Group: Members Topic Count: 153 Topics Per Day: 0.03 Content Count: 567 Reputation: 18 Joined: 04/15/13 Last Seen: April 21, 2016 Author Share Posted March 13, 2014 Where do you want the tbox to be spawned, on their castle, or current position? at the same place where Player killed the MVP. Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 13, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 13, 2014 - 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 Quote Link to comment Share on other sites More sharing options...
Yoona Posted March 13, 2014 Group: Members Topic Count: 153 Topics Per Day: 0.03 Content Count: 567 Reputation: 18 Joined: 04/15/13 Last Seen: April 21, 2016 Author Share Posted March 13, 2014 - 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. Quote Link to comment Share on other sites More sharing options...
sandbox Posted March 14, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted March 14, 2014 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; } Quote Link to comment Share on other sites More sharing options...
Question
Yoona
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 YoonaLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.