public LevelingManager(Character character)
 {
     StrengthMage   = new StatUnits(5, 11, 75, 7);
     DefAgi         = new StatUnits(30, 40, 25, 8, unit: 0.75);
     HealthUnit     = new StatUnits(30, 40, 25, 8, unit: 1.5);
     ManaUnit       = new StatUnits(30, 40, 25, 8, unit: 1.35);
     RestUnit       = new StatUnits(24, 34, 25, 15);
     ResistanceUnit = new StatUnits(29, 39, 20, 10);
     Character      = character;
 }
 private int RandomizeStat(StatUnits units, int stat, string statName)
 {
     (int unit, string name)[] sortedUnits = units.Units.OrderBy(unit => unit.unit).ToArray();