public Limb(Character_Stat_Array attribute_Array, string name) { Defence_Array = attribute_Array.Defence_Attributes; Health = new Health(attribute_Array.Defence_Attributes); Armor = new Armor(attribute_Array.Defence_Attributes); Name = name; Update_Condition(); }
public Combat_System(Character_Stat_Array attribute_Array, int Endurance, int Barrier, Client client, Buff_Component buff_Component) { limbs = new List <Limb>() { new Limb(attribute_Array, "Head"), new Limb(attribute_Array, "Torso") }; this.Endurance = new Endurance(new Kryz.CharacterStats.CharacterStat(Endurance)); this.Barrier = new Barrier(new Kryz.CharacterStats.CharacterStat(Barrier)); Client = client; Buff_Component = buff_Component; }