Ejemplo n.º 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;
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 4
0
 public PotionBase(string name, Money money, double weight, int value)
     : base(name, money, weight)
 {
     PotionValue = value;
 }
Ejemplo n.º 5
0
 public ItemBase(string name, Money money, double weight)
 {
     Name = name;
     Value = money.Value;
     Weight = weight;
 }
Ejemplo n.º 6
0
 public HealthPotionBase(string name, Money money, double weight, int value)
     : base(name, money, weight, value)
 {
 }
Ejemplo n.º 7
0
 public WeaponModel()
 {
     Value = new Money();
 }
Ejemplo n.º 8
0
 public BagBase(string name, Money money, double weight, int maxCapacity)
     : base(name, money, weight)
 {
     Contents = new List<ItemBase>();
     this.maxCapacity = maxCapacity;
 }
Ejemplo n.º 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)
 {
 }