Пример #1
0
 public Armour(string name, string description, int requiredLevel, int price, ItemRarity itemRarity, int defense, double evasion)
     : base(name, description, requiredLevel, price, itemRarity)
 {
     this.Defense = defense;
     this.Evasion = evasion;
 }
Пример #2
0
 public Weapon(string name, string description, int requiredLevel, int price, ItemRarity itemRarity, int damage, double critical)
     : base(name, description, requiredLevel, price, itemRarity)
 {
     this.Damage   = damage;
     this.Critical = damage;
 }