Kudo Posted August 11, 2020 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 140 Reputation: 0 Joined: 08/18/12 Last Seen: June 21, 2024 Share Posted August 11, 2020 pwede bang sa chance % ng items ay mag kaparehas for example eto po setarray .@P1[0],1,512,1; //Gallon Hat of Flame << same 1 % setarray .@P2[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 .@Total,9; //<%>,<ItemID>,<Amount> setarray .@P1[0],1,512,1; //Gallon Hat of Flame setarray .@P2[0],2,512,1; //Crow_Tengu_Mask setarray .@P3[0],3,512,1; //Canopy setarray .@P4[0],5,7179,10; //PODS setarray .@P5[0],30,969,150; //(Gold) setarray .@P6[0],80,12016,10; //Speed_Up_Potion setarray .@P7[0],90,12214,5; //12214 setarray .@P8[0],95,12412,5; //HE_Bubble_Gum setarray .@P9[0],70,12103,5; //Bubble Gum setarray .@Default[0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) Quote Link to comment Share on other sites More sharing options...
Yonko Posted August 11, 2020 Group: Members Topic Count: 166 Topics Per Day: 0.03 Content Count: 789 Reputation: 50 Joined: 04/16/12 Last Seen: July 8, 2022 Share Posted August 11, 2020 1 hour ago, Kudo said: pwede bang sa chance % ng items ay mag kaparehas for example eto po setarray .@P1[0],1,512,1; //Gallon Hat of Flame << same 1 % setarray .@P2[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 .@Total,9; //<%>,<ItemID>,<Amount> setarray .@P1[0],1,512,1; //Gallon Hat of Flame setarray .@P2[0],2,512,1; //Crow_Tengu_Mask setarray .@P3[0],3,512,1; //Canopy setarray .@P4[0],5,7179,10; //PODS setarray .@P5[0],30,969,150; //(Gold) setarray .@P6[0],80,12016,10; //Speed_Up_Potion setarray .@P7[0],90,12214,5; //12214 setarray .@P8[0],95,12412,5; //HE_Bubble_Gum setarray .@P9[0],70,12103,5; //Bubble Gum setarray .@Default[0],rand(13517,12534,12103,6767,3100,7227,7608,6420,981,983),rand(1,20); set .@i, rand(1,.@Total); if (rand(1,100) > getd(".@P"+.@i+"[0]")) pwede at di yan conflict. 1 Quote Link to comment Share on other sites More sharing options...
Kudo Posted August 11, 2020 Group: Members Topic Count: 56 Topics Per Day: 0.01 Content Count: 140 Reputation: 0 Joined: 08/18/12 Last Seen: June 21, 2024 Author Share Posted August 11, 2020 11 minutes ago, Yonko said: pwede at di yan conflict. pano naman dito setarray .@Default[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 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 1016 Reputation: 191 Joined: 11/27/14 Last Seen: February 15 Share Posted August 11, 2020 10 hours ago, Kudo said: pano naman dito setarray .@Default[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 .@Default[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...
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.