Beispiel #1
0
 public RangeArcherUnitLogic(RangeArcherUnitInfo info, IUnit unit, ICore core) : base(unit, core)
 {
     _damage         = info.Damage;
     _manaRegen      = info.ManaRegen;
     _attackDistance = info.AttackDistance;
     _killChance     = info.KillChance;
 }
Beispiel #2
0
        public RangeArcherUnitLogic(RangeArcherUnitInfo info, IUnit unit, ICore core) : base(unit, core)
        {
            _damage         = info.Damage;
            _manaRegen      = info.ManaRegen;
            _attackDistance = info.AttackDistance;
            _killChance     = info.KillChance;

            _stunFreeDamage    = info.StunFreeDamage;
            _turnReceiveDamage = 0;
            _stunned           = 0;
        }