Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public static string getComponentCategoryCode(ItemWeapon.tWeaponType wep, tArmorPart part)
 {
     return "" + (int)wep + (int)part;
 }