ServUO Version
Publish Unknown
Ultima Expansion
None
C#:
int DestroyChance = Utility.Random(3);

                        if (DestroyChance > 0) // Success
                        {
 
Utility.Random(3) can roll these numbers:
0
1
2
So if DestroyChance rolls a 1 or 2 it will pass as greaterthen 0. "DestroyChance > 0". So a 2/3rd chance, or 66%
 
Back