public GoalKeeperRatingConfig()
 {
     RatingWeightings.AddRange(new RatingWeighting[]
     {
         new RatingWeighting(5, new List <FeatureType> {
             FeatureType.Goalkeeping,
             FeatureType.Power,
             FeatureType.Agility,
             FeatureType.Focus,
             FeatureType.Composure,
             FeatureType.ReactionSpeed,
         }),
         new RatingWeighting(2, new List <FeatureType>
         {
             FeatureType.PassingAccuracy,
             FeatureType.FightingSpirit,
         }),
         new RatingWeighting(1, new List <FeatureType>
         {
             //FeatureType.Morale,
             FeatureType.PassingSpeed,
             FeatureType.Cross,
             FeatureType.Acceleration,
         }),
         new RatingWeighting(0.5, new List <FeatureType>
         {
             FeatureType.Stamina,
             FeatureType.FreeKick,
         }),
     });
 }
Esempio n. 2
0
 public DefensiveMidfieldRatingConfig()
 {
     RatingWeightings.AddRange(new RatingWeighting[]
     {
         new RatingWeighting(5, new List <FeatureType> {
             FeatureType.Header,
             FeatureType.Interception,
             FeatureType.Power,
             FeatureType.Stamina,
         }),
         new RatingWeighting(3, new List <FeatureType>
         {
             FeatureType.ReactionSpeed,
             FeatureType.PassingAccuracy,
             FeatureType.FightingSpirit,
             FeatureType.Tackling,
         }),
         new RatingWeighting(1, new List <FeatureType>
         {
             //FeatureType.Morale,
             FeatureType.Composure,
             FeatureType.Vista,
             FeatureType.Focus,
             FeatureType.PassingSpeed,
             FeatureType.Acceleration,
         }),
         new RatingWeighting(0.5, new List <FeatureType>
         {
             FeatureType.Agility,
             FeatureType.Cross,
             FeatureType.FreeKick,
             FeatureType.PenaltyKick,
             FeatureType.Finishing,
             FeatureType.TopSpeed,
         }),
     });
 }