public void AddAttributeByKey(string _key)
        {
            DurabilityAttributeObject _attribute = GetAttributeByKey(_key);

            if (_attribute == null)
            {
                Attributes.Add(new DurabilityAttributeObject(_key));
            }
        }
        public void Copy(DurabilityAttributeObject _data)
        {
            if (_data == null)
            {
                return;
            }

            base.Copy(_data);

            Key = _data.Key;

            Multiplier.Clear();
            foreach (DurabilityInfluenceMultiplierObject _multiplier in _data.Multiplier)
            {
                Multiplier.Add(new DurabilityInfluenceMultiplierObject(_multiplier));
            }
        }
 public DurabilityAttributeObject(DurabilityAttributeObject _data) : base(_data)
 {
     Copy(_data);
 }