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