03.10.2012, 11:18
Hi all
i'm trying to found a way to make a chance system on my Game Mode
what i'm looking for ?
well i'll try to explain every thing
I'm made a Command called /search, When the player is searching , he can found items, and i wanna make that this items will appear like : there is 30% chance to found ITEM A, 20% for Item B 40% for Item C 10% to found nothing.
before i was using the Random(X,Y) way but this isn't what i want
if anyone have ideas pleas share them
i'm trying to found a way to make a chance system on my Game Mode
what i'm looking for ?
well i'll try to explain every thing
I'm made a Command called /search, When the player is searching , he can found items, and i wanna make that this items will appear like : there is 30% chance to found ITEM A, 20% for Item B 40% for Item C 10% to found nothing.
before i was using the Random(X,Y) way but this isn't what i want
if anyone have ideas pleas share them