/// <summary>
 ///     Attempts to set the damage value for the given DamageType - returns false if the container does not support that type.
 /// </summary>
 public bool TrySetDamageValue(DamageType type, int target)
 {
     DamageContainerValues.DamageTypeToClass.TryGetValue(type, out DamageClass classType);
     if (SupportedDamageClasses.Contains(classType))
     {
         _damageList[type] = target;
         return(true);
     }
     return(false);
 }
 /// <summary>
 ///     Attempts to change the damage value for the given DamageType - returns false if the container does not support that type.
 /// </summary>
 public bool TryChangeDamageValue(DamageType type, int delta)
 {
     DamageContainerValues.DamageTypeToClass.TryGetValue(type, out DamageClass classType);
     if (SupportedDamageClasses.Contains(classType))
     {
         _damageList[type] = _damageList[type] + delta;
         return(true);
     }
     return(false);
 }