jacky Posted June 22, 2014 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 51 Reputation: 0 Joined: 05/23/14 Last Seen: November 29, 2017 Share Posted June 22, 2014 1354,TREASURE_BOX31,Treasure Chest,Treasure Chest,99,0,0,0,0,0,0,0,0,0,0,0,0,0,999,0,0,0,0,0,20,0x120,0,0,0,0,0,0,0,0,0,0,0,0,22554,50,22556,50,22555,50,22557,10,0,0,0,0,0,0,0,0,0,0,0,0 box just drop item 22556 (1pcs) 22555(1pcs) etc how to change like 22556(30pcs) etc thx Quote Link to comment Share on other sites More sharing options...
EL Dragon Posted June 22, 2014 Group: Members Topic Count: 86 Topics Per Day: 0.02 Content Count: 591 Reputation: 146 Joined: 06/19/12 Last Seen: December 10, 2016 Share Posted June 22, 2014 - script DropExtraDB -1,{ OnNPCKillEvent: //======================== Conf ============================= setarray .@mobids[0],1354,MOB2,MOB3,MOB4; // Mob ID's setarray .@prizeids[0],22556,DROP2,DROP3,DROP4; // Droped itens ID's setarray .@chance[0],100,2,2,2,2,2; // Drop chance % //========================================================== for(set .@j,getarraysize(.@mobids); .@i < .@j; set .@i,.@i + 1) if(killedrid == .@mobids[.@i] && rand(100) < .@chance[.@i]) getitem .@prizeids[.@i],30; //item number end; } Quote Link to comment Share on other sites More sharing options...
Question
jacky
box just drop item 22556 (1pcs) 22555(1pcs) etc
how to change like 22556(30pcs) etc
thx
Link to comment
Share on other sites
1 answer 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.