I would like to know how I do pro item have% to come in npc all that I tested the item comes with 1% I would like the item had 1% to come but when I try here as soon as it comes it comes
Script 1%
Started by josue2017, Mar 21 2017 06:08 PM
1 reply to this topic
#1
Posted 21 March 2017 - 06:08 PM
#2
Posted 25 March 2017 - 05:38 AM
if (rand(1,100) <= 1) { // 1% de chance getitem 501,1; } if (rand(1,100) <= 5) { // 5% de chance getitem 501,1; } if (rand(1,100) <= 50) { // 50% de chance getitem 501,1; } if (rand(1,2) == 1) { // 50% de chance getitem 501,1; }
Entendeu como é fácil?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users