public void ApplyDOT(float amount, int intervals) { DamageOverTime dot = new DamageOverTime(intervals, amount, Damage); StartCoroutine(dot.Start()); dots.Add(dot); }
public void ApplyDOT(float amount, int intervals) { DamageOverTime dot = new DamageOverTime(intervals,amount,Damage); StartCoroutine(dot.Start()); dots.Add(dot); }