Exemplo n.º 1
0
 private void AddShield(Buff buff, Unit.Properties properties)
 {
     _shieldAllTogether  = properties.Shield * ((100 + buff.BuffStats.ShieldPercentage) / 100);
     _shieldAllTogether += buff.BuffStats.ShieldFlat;
 }
Exemplo n.º 2
0
 public void Enqueue(Buff buff, Unit.Properties properties)
 {
     AddShield(buff, properties);
     _queue.Add(buff);
     //            Queue.Sort(buff.);
 }