Пример #1
0
 public WeaponBase(string name, Money money, double weight, EquipmentCategory category, List<EquipmentType> types, int baseDamage, int hitModifier, int criticalModifier)
     : base(name, money, weight, category, types)
 {
     BaseDamage = baseDamage;
     CriticalModifier = criticalModifier;
     HitModifier = hitModifier;
 }
Пример #2
0
 public CharacterBase()
 {
     Skills = new List<Skill>();
     Abilities = new List<Ability>();
     Money = new Money();
     Inventory = new List<ItemBase>();
     Proficiencies = new List<EquipmentCategory>();
     Equipment = new Equipment();
 }
Пример #3
0
 public ArmorBase(
     string name, Money money, EquipmentCategory category, List<EquipmentType> type, double weight,
     int armorValue, int staminaBoost, int strengthBoost, int agilityBoost, int intelligenceBoost, int wisdomBoost
 )
     : base(name, money, weight, category, type)
 {
     ArmorValue = armorValue;
     StaminaBoost = staminaBoost;
     StrengthBoost = strengthBoost;
     AgilityBoost = agilityBoost;
     IntelligenceBoost = intelligenceBoost;
     WisdomBoost = wisdomBoost;
 }
Пример #4
0
 public PotionBase(string name, Money money, double weight, int value)
     : base(name, money, weight)
 {
     PotionValue = value;
 }
Пример #5
0
 public ItemBase(string name, Money money, double weight)
 {
     Name = name;
     Value = money.Value;
     Weight = weight;
 }
Пример #6
0
 public HealthPotionBase(string name, Money money, double weight, int value)
     : base(name, money, weight, value)
 {
 }
Пример #7
0
 public WeaponModel()
 {
     Value = new Money();
 }
Пример #8
0
 public BagBase(string name, Money money, double weight, int maxCapacity)
     : base(name, money, weight)
 {
     Contents = new List<ItemBase>();
     this.maxCapacity = maxCapacity;
 }
Пример #9
0
 public OneHandedSword(string name, Money money, double weight, int baseDamage, int hitModifier, int criticalModifier)
     : base(name, money, weight, EquipmentCategory.Swords, 
     new List<EquipmentType> { EquipmentType.MainHand, EquipmentType.SecondaryHand }, 
     baseDamage, hitModifier, criticalModifier)
 {
 }