public ItemArmor(float damage, float atkspd, float armor, float health, float moveSpeedModifier, string name, string armorCode, string description) : base(damage, atkspd, armor, health, moveSpeedModifier, name, tItemType.Armor, description) { this.oreType = getArmorOre(armorCode); this.strArmorCode = armorCode; this.armorAttribute = getArmorAttribute(armorCode); this.armorPart = getArmorPart(armorCode); }
public static string getComponentCategoryCode(ItemWeapon.tWeaponType wep, tArmorPart part) { return "" + (int)wep + (int)part; }