Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
        public WildMagic OfficialRoll()
        {
            int roll = RandomNumberGenerator.NumberBetween(1, 50);

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