namespace Pathfinder_Character_Sheet
public int[] Score { get; set; }
public int[] Modifier { get; set; }
public int[] Temporary { get; set; }
private Random Dice { get; set; }
private const int MAX_ROLL = 19;
private const int MIN_ROLL = 3;
private const int MOD_ADJUSTMENT = 5;
private const int HALF = 2;
this.Score = new int[(int)Abilities.NUMBER_OF_ABILITIES];
this.Modifier = new int[(int)Abilities.NUMBER_OF_ABILITIES];
this.Temporary = new int[(int)Abilities.NUMBER_OF_ABILITIES];
for(int i = 0; i < (int)Abilities.NUMBER_OF_ABILITIES; i++)
Score[i] = Dice.Next(MIN_ROLL, MAX_ROLL);
Modifier[i] = ((Score[i] / HALF) - MOD_ADJUSTMENT);