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