} //预制体名字 public CharacterAttribute(CharShareAttribute charShareAttribute, int lv) { CharShareAttribute = charShareAttribute; Lv = lv; _CurrentHP = CharShareAttribute.MaxHP + CharShareAttribute.Strategy.GetExtraHP(Lv); DesDmg = CharShareAttribute.Strategy.GetDescDmg(Lv); }
public SoldierAttribute(CharShareAttribute charShareAttribute, int lv) : base(charShareAttribute, lv) { }
public EnemyAttribute(CharShareAttribute charShareAttribute, int lv) : base(charShareAttribute, lv) { }