jacky Posted June 22, 2014 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
EL Dragon Posted June 22, 2014 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
Question
jacky
box just drop item 22556 (1pcs) 22555(1pcs) etc
how to change like 22556(30pcs) etc
thx
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.