예제 #1
0
 public int RollAbility(Abilities abilityCheck) => MyAbilities[(int)abilityCheck] != null ? MyAbilities[(int)abilityCheck].Roll() : DiceRoller.Roll();
예제 #2
0
 public int RollStat(Stats statCheck) => MyStats[(int)statCheck] != null ? MyStats[(int)statCheck].Roll() : DiceRoller.Roll();
예제 #3
0
 public int Roll(int diceCount = 1) => DiceRoller.Roll(Die, diceCount) + Modifier;