コード例 #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
ファイル: Weapon.cs プロジェクト: lucaskbr/RPGApplication
 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;
 }