public virtual void GenerateAttributes(int bonus = 0) { NumberOfRerolls++; for (int a = 0; a < 6; a++) { attributes[(Attribute)a] = DiceRoller.Roll4d6DropLowest() + bonus; } attributes[Attribute.MaxHitPoints] = HitDieType(true) + HitDieType(false) + ConstitutionMod * 2; return; }