public DamageDoTEntity(DamageDoTEntity buff) : base(buff) { Damage = buff.Damage; Duration = buff.Duration; DamageType = buff.DamageType; TickTime = buff.TickTime; LastTick = buff.LastTick; DamageModel = buff.DamageModel; }
private void ApplyDoTToTarget(Attack attack, EntityController target) { if (!attack.AttackInfo.Damage.IsDoT) { return; } DamageDoTEntity dot = new DamageDoTEntity(); dot.FromAttack(this, _entityControllerScript, target); target.AddBuff(dot); }