-
Casino Dice
Hey there,
Yesterday I found a Casino script and fixed it to work with the new 10.90 depot boxes...
It's working great except for some win issues xD, since the dice is random(1,6) for some reason the user was winning a lot and I lost 500k :P, I am looking for a way to decrease the user chances, I already implemented something like this:
If the user says low I set the dice numbers to this:
DiceNumbers = {4, 6, 5, 2, 5, 4, 1, 3, 5, 6}
if the user says high I set the dice numbers to this:
DiceNumbers = {2, 1, 5, 3, 1, 6, 1, 3, 4, 2}
then I just randomize this array with
DiceIndex = random(1,10)
and I select by the Index with: Result = DiceNumbers[DiceIndex]
Is there a better way to do what I want or am I being too unfair?
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules