예제 #1
0
 public Armour(int itemid) : base(itemid)
 {
     location        = StatParser.ParseArmourLocation(ItemStats.GetStat(itemid, "location"));
     this.Equippable = true;
 }
예제 #2
0
 public Consumable(int itemid) : base(itemid)
 {
     this.consumabletype = this.setConsumableType(itemid);
     this.effectiveness  = int.Parse(ItemStats.GetStat(itemid, "effectiveness"));
     this.count          = 1;
 }