private Entity() { Health = new AttributePair(0); Stamina = new AttributePair(0); Mana = new AttributePair(0); Skills = new Dictionary <string, Skill>(); Spells = new Dictionary <string, Spell>(); Talents = new Dictionary <string, Talent>(); SkillModifiers = new List <Modifier>(); SpellModifiers = new List <Modifier>(); TalentModifiers = new List <Modifier>(); Resistances = new List <Resistance>(); Weaknesses = new List <Weakness>(); }
private Entity() { Health = new AttributePair(0); Stamina = new AttributePair(0); Mana = new AttributePair(0); Skills = new Dictionary<string, Skill>(); Spells = new Dictionary<string, Spell>(); Talents = new Dictionary<string, Talent>(); SkillModifiers = new List<Modifier>(); SpellModifiers = new List<Modifier>(); TalentModifiers = new List<Modifier>(); Resistances = new List<Resistance>(); Weaknesses = new List<Weakness>(); }
public Entity(string name, EntityData entityData, EntityGender gender, EntityType entityType) : this() { EntityName = name; EntityClass = entityData.EntityName; Gender = gender; EntityType = entityType; Strength = entityData.Strength; Dexterity = entityData.Dexterity; Intelligence = entityData.Intelligence; Agility = entityData.Agility; Wisdom = entityData.Wisdom; vitality = entityData.Vitality; health = new AttributePair(0); stamina = new AttributePair(0); mana = new AttributePair(0); }
private Entity() { Strength = 0; Dexterity = 0; Intelligence = 0; Agility = 0; Wisdom = 0; Vitality = 0; health = new AttributePair(0); stamina = new AttributePair(0); mana = new AttributePair(0); skills = new Dictionary<string, Skill>(); spells = new Dictionary<string, Spell>(); talents = new Dictionary<string, Talent>(); skillModifiers = new List<Modifier>(); spellModifiers = new List<Modifier>(); talentModifiers = new List<Modifier>(); }