Пример #1
0
 public ArmorTemplate(string name = "No Armor", ArmorCategories category = ArmorCategories.None, ArmorTypes baseArmorType = ArmorTypes.NoArmor, int baseAC = 10, int maxDexBonus = 10, bool stealthDisadvantage = false, int strengthReq = 0, int cost = 0, int weight = 0)
 {
     this.name                = name;
     this.category            = category;
     this.baseArmorType       = baseArmorType;
     this.baseAC              = baseAC;
     this.maxDexBonus         = maxDexBonus;
     this.stealthDisadvantage = stealthDisadvantage;
     this.strengthRequirement = strengthReq;
     this.cost                = cost;
     this.weight              = weight;
 }
Пример #2
0
        public Armor()
        {
            itemType = ItemType.Armor.ToString();

            name                = "None";
            armorCategory       = ArmorCategories.None;
            baseArmorType       = ArmorTypes.NoArmor;
            baseAC              = 10;
            maxDexBonus         = 10;
            stealthDisadvantage = false;
            strengthRequirement = 0;
        }
Пример #3
0
        public Armor(ArmorTemplate armor)
        {
            itemType = ItemType.Armor.ToString();

            name                = armor.name;
            armorCategory       = armor.category;
            baseArmorType       = armor.baseArmorType;
            baseAC              = armor.baseAC;
            maxDexBonus         = armor.maxDexBonus;
            stealthDisadvantage = armor.stealthDisadvantage;
            strengthRequirement = armor.strengthRequirement;
            cost                = armor.cost;
            weight              = armor.weight;
        }