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