Example #1
0
 public BuffInstance(Buff buff, Character source = null)
 {
     this.buff     = buff;
     this.source   = source;
     remainingTime = buff.buffDuration;
 }
Example #2
0
 public void AddBuff(Buff buff, Character source = null)
 {
     buffs.Add(new BuffInstance(buff, source));
     buff.OnGained(source, this);
 }