Esempio n. 1
0
        public override string ToString()
        {
            int strength = ActiveSlots.Sum(x => x.Strength);
            int agility  = ActiveSlots.Sum(x => x.Agility);
            int vitality = ActiveSlots.Sum(x => x.Vitality);

            return($"{this.Name}: {this.MinDamage}-{this.MaxDamage} Damage, +{strength} Strength, +{agility} Agility, +{vitality} Vitality");
        }
Esempio n. 2
0
 public HumanEquipmentComponent()
 {
     //These shit lines allow the f*****g shit to be added to the shit
     ActiveSlots.Add(EquipmentSlot.Back);
     ActiveSlots.Add(EquipmentSlot.Belt);
     ActiveSlots.Add(EquipmentSlot.Ears);
     ActiveSlots.Add(EquipmentSlot.Eyes);
     ActiveSlots.Add(EquipmentSlot.Feet);
     ActiveSlots.Add(EquipmentSlot.Hands);
     ActiveSlots.Add(EquipmentSlot.Head);
     ActiveSlots.Add(EquipmentSlot.Inner);
     ActiveSlots.Add(EquipmentSlot.Mask);
     ActiveSlots.Add(EquipmentSlot.Outer);
 }