public Buff(float time, BUFF buff, IHitable target, bool isCC = false, bool isOn = false) { buffName = buff; this.isOn = isOn; if (!isOn) { totalTime = time; } else { totalTime = 0; } if (isCC) { target.TakeCC(); } SetTarget(target); }
public Buff(float time, BUFF buff, IHitable target, bool isCC = false, bool isOn = false) { buffName = buff; this.isOn = isOn; if (!isOn) { totalTime = time; } else { totalTime = 0; } if (isCC) { target.TakeCC(); } SetTarget(target); }