public string FindWeaponProficiency(Dictionaries.WeaponTypes input)
 {
     if (WeaponProficiencies.Count != 0)
     {
         if (WeaponProficiencies.Contains(input))
         {
             StringBuilder output = new StringBuilder();
             foreach (Dictionaries.WeaponTypes WeaponProficiency in WeaponProficiencies)
             {
                 if (input == WeaponProficiency)
                 {
                     output.AppendLine($"{WeaponProficiency}");
                 }
             }
             return(output.ToString());
         }
         else
         {
             return("This weapon proficiency is not in this list");
         }
     }
     else
     {
         return("The list of weapon proficiencies is empty");
     }
 }
 public bool RemoveWeaponProficiency(Dictionaries.WeaponTypes input)
 {
     if (WeaponProficiencies.Contains(input))
     {
         WeaponProficiencies.Remove(input);
         return(true);
     }
     else
     {
         return(false);
     }
 }
 public bool AddWeaponProficiency(Dictionaries.WeaponTypes input)
 {
     if (WeaponProficiencies.Contains(input))
     {
         return(false);
     }
     else
     {
         WeaponProficiencies.Add(input);
         return(true);
     }
 }
        private bool isProficientInWeapon(Weapon weapon)
        {
            string sanitizedWeaponName = Regex.Replace(weapon.Name, @"\s\([\d]+\)", "");

            return(WeaponProficiencies.Contains(sanitizedWeaponName) || WeaponProficiencies.Contains(weapon.Type));
        }