Beispiel #1
0
        public WildMagic OfficialManualRoll(int manualRoll)
        {
            // Check if roll is Odd, and add 1 in that case. This is to align with our 1-50 table.
            if (manualRoll % 2 != 0)
            {
                manualRoll++;
            }
            int Roll = manualRoll / 2;

            return(CurrentResult = TableFactory.GetResult(Roll));
        }
Beispiel #2
0
        public WildMagic OfficialRoll()
        {
            int roll = RandomNumberGenerator.NumberBetween(1, 50);

            return(CurrentResult = TableFactory.GetResult(roll));
        }