public void RegisterTimedBuff(StatBase stat, Modifier buff) { // Check if the buff is actually permanent and, thus, should not be added. if (!buff.IsPermanent) { timedBuffs.Add(new StatModifierLink(stat, buff)); } }
public StatModifierLink(StatBase stat, Modifier buff) { Stat = stat; Buff = buff; }