Beispiel #1
0
        private void GenerateDust()
        {
            int probability = RandomInt.GetRandomInt();

            if (probability < 20)
            {
                Dust = true;
            }
        }
Beispiel #2
0
        private void GenerateJewel()
        {
            int probability = RandomInt.GetRandomInt();

            if (probability < 5)
            {
                Jewel = true;
            }
        }