示例#1
0
 /// <summary>
 /// Initializes all qualities with a random value, to be adjusted later
 /// </summary>
 /// <param name="traits">character traits</param>
 private static void RandomlyInitializeAllQualities(CharacterTraits traits)
 {
     traits.Acuity         = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Adaptiveness   = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Ambition       = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Assertiveness  = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Awareness      = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Changing       = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Charisma       = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Charitable     = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Compassion     = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Confidence     = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Conscience     = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.CriticalSense  = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Determination  = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Energetic      = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Expressiveness = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Gregariousness = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Imagination    = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Introspection  = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Inventiveness  = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Memory         = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Modesty        = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Quietude       = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Outlook        = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.SelfEsteem     = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Selflessness   = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Sociability    = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Tolerance      = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Tact           = RandomValueGenerator.GenerateMidRangeAttributeValue();
     traits.Willpower      = RandomValueGenerator.GenerateMidRangeAttributeValue();
 }