public Minions(int unitID, int count) : base(unitID) { this.TotalCount = count; this.AliveCount = this.TotalCount; this.DeadCount = 0; this.CurrentHP = this.MaxHP; this.Equip = null; }
public Corps(int unitID, int count) : base(unitID) { if (count == 0) { count = 1; } this.TotalCount = count; this.AliveCount = this.TotalCount; this.DeadCount = 0; this.CurrentHP = this.MaxHP; this.Equip = null; }
/// <summary> /// 默认构造函数 /// </summary> /// <param name="unitID">单位id</param> /// <param name="leadership">英雄领导力</param> public Hero(int unitID, int leadership) : base(unitID) { this.Leadership = leadership; this.Equip = null; }