public int GetReduction(Damage.DmgType type) { return(Reduction.Where(p => p.Type == type).First().Value); }
public void SetResistance(Damage.DmgType type, int value) { Reduction.Where(p => p.Type == type).First().Value = value; }
public int GetResistance(Damage.DmgType type) { return(Resistance.Where(p => p.Type == type).First().Value); }