akosiesooon Posted April 28, 2021 Posted April 28, 2021 ung random item lalabas sa egg tapos by % ang chance of winning ng epic / rare / normal costumes .. bka naman mga lods
Sallycantdance Posted May 9, 2021 Posted May 9, 2021 On 4/28/2021 at 11:20 PM, akosiesooon said: ung random item lalabas sa egg tapos by % ang chance of winning ng epic / rare / normal costumes .. bka naman mga lods function script CustomBox { setarray .i1[1],12221,12263,14765,12211; // Common Items set .i1rand,rand(1,4); // Randomize Common Items; just change max amount if you add items setarray .i2[1],12216,12215; // Rare Items set .i2rand,rand(1,2); // Randomize Rare Items; just change max amount if you add items setarray .i3[1],12412,677; // Super Rare Items set .i3rand,rand(1,2); //Randomize Super Rare Items; just change max amount if you add items set .chance, rand(100); // Super Rare Item 3% if (.chance < 3){ getitem .i3[.i3rand],1; announce "["+strcharinfo(0)+"] won a ["+getitemname(.i3[.i3rand])+"] from the Lucky Egg.",0; end; } // Rare Item 15% else if (.chance < 15){ getitem .i2[.i2rand],1; announce "["+strcharinfo(0)+"] won a ["+getitemname(.i2[.i2rand])+"] from the Lucky Egg.",0; end; } // Common Items else { getitem .i1[.i1rand],1; end; } }
Recommended Posts