Kudo Posted August 11, 2020 Share Posted August 11, 2020 pwede bang sa chance % ng items ay mag kaparehas for example eto po setarray [email protected][0],1,512,1; //Gallon Hat of Flame << same 1 % setarray [email protected][0],1,512,1; //Crow_Tengu_Mask << same 1 % pag parehas ba 1% mag kakaron ba ng conflict?? or ok lang na may kaparehas ng chances Sample Script.. set [email protected],9; //<%>,<ItemID>,<Amount> setarray [email protected][0],1,512,1; //Gallon Hat of Flame setarray [email protected][0],2,512,1; //Crow_Tengu_Mask setarray [email protected][0],3,512,1; //Canopy setarray [email protected][0],5,7179,10; //PODS setarray [email protected][0],30,969,150; //(Gold) setarray [email protected][0],80,12016,10; //Speed_Up_Potion setarray [email protected][0],90,12214,5; //12214 setarray [email protected][0],95,12412,5; //HE_Bubble_Gum setarray [email protected][0],70,12103,5; //Bubble Gum setarray [email protected][0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); set [email protected], rand(1,[email protected]); if (rand(1,100) > getd("[email protected]"[email protected]+"[0]")) Quote Link to comment Share on other sites More sharing options...
Yonko Posted August 11, 2020 Share Posted August 11, 2020 1 hour ago, Kudo said: pwede bang sa chance % ng items ay mag kaparehas for example eto po setarray [email protected][0],1,512,1; //Gallon Hat of Flame << same 1 % setarray [email protected][0],1,512,1; //Crow_Tengu_Mask << same 1 % pag parehas ba 1% mag kakaron ba ng conflict?? or ok lang na may kaparehas ng chances Sample Script.. set [email protected],9; //<%>,<ItemID>,<Amount> setarray [email protected][0],1,512,1; //Gallon Hat of Flame setarray [email protected][0],2,512,1; //Crow_Tengu_Mask setarray [email protected][0],3,512,1; //Canopy setarray [email protected][0],5,7179,10; //PODS setarray [email protected][0],30,969,150; //(Gold) setarray [email protected][0],80,12016,10; //Speed_Up_Potion setarray [email protected][0],90,12214,5; //12214 setarray [email protected][0],95,12412,5; //HE_Bubble_Gum setarray [email protected][0],70,12103,5; //Bubble Gum setarray [email protected][0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); set [email protected], rand(1,[email protected]); if (rand(1,100) > getd("[email protected]"[email protected]+"[0]")) pwede at di yan conflict. 1 Quote Link to comment Share on other sites More sharing options...
Kudo Posted August 11, 2020 Author Share Posted August 11, 2020 11 minutes ago, Yonko said: pwede at di yan conflict. pano naman dito setarray [email protected][0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); may nabasa kasi ako na need daw lagyan ng F_Rand saan ko ba sya i sisingit kasi pag rand lang daw eh 2 items lang daw ang inaaccept nya.. Quote Link to comment Share on other sites More sharing options...
Poring King Posted August 11, 2020 Share Posted August 11, 2020 10 hours ago, Kudo said: pano naman dito setarray [email protected][0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); may nabasa kasi ako na need daw lagyan ng F_Rand saan ko ba sya i sisingit kasi pag rand lang daw eh 2 items lang daw ang inaaccept nya.. F_rand is for 2 or more ex: setarray [email protected][0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); rand is 2 only exrand (1.20) Quote Link to comment Share on other sites More sharing options...