Exemple #1
0
 public int RollCheck()
 {
     Die skillCheckDie = new Die() { Quantity = 1, Sides = 20, Modifier = Score };
     return skillCheckDie.Roll();
 }
Exemple #2
0
 /// <summary>
 /// Sets the value of an Ability Score by rolling 4d6 and dropping the lowest roll.
 /// </summary>
 public void Generate()
 {
     Die die = new Die() { Sides = 6, Quantity = 4, DropLowest = 1 };
     BaseValue = die.Roll();
 }