public Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction)
        {
            this.Name = name;

            this.BaseHealth = health;
            this.Health     = health;

            this.BaseArmor = armor;
            this.Armor     = armor;

            this.AbilityPoints = abilityPoints;

            this.Bag = bag;

            this.Faction = faction;

            this.isAlive = true;
        }
Example #2
0
        protected Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction)
        {
            this.Name          = name;
            this.BaseHealth    = health;
            this.Health        = health;
            this.BaseArmor     = armor;
            this.Armor         = armor;
            this.AbilityPoints = abilityPoints;
            this.Bag           = bag;
            this.Faction       = faction;

            this.IsAlive            = true;
            this.RestHealMultiplier = defaultRestHealMultiplier;
        }
Example #3
0
 public Character(string name, double health, double armor, double abilityPoints, Bag bag, Faction faction)
 {
     this.Name               = name;
     this.BaseHealth         = health;
     this.Health             = health;
     this.BaseArmor          = armor;
     this.Armor              = armor;
     this.AbilityPoints      = abilityPoints;
     this.Bag                = bag;
     this.Faction            = faction;
     this.RestHealMultiplier = RestHealMultiplierDefault;
 }