Beispiel #1
0
 private void RemoveBuffDebuff(ShipData.BuffDebuff existingBuffDebuff)
 {
     if (buffDebuff.Contains(existingBuffDebuff) == false)
     {
         Debug.LogError("Tried to remove a BuffDebuff that no longer exists");
         return;
     }
     Debug.Log("Buff/Debuff expired: " + existingBuffDebuff.Name);
     buffDebuff.Remove(existingBuffDebuff);
     Recalculate_finalStats();
 }
Beispiel #2
0
 //buffs and debuffs
 public void AddBuffDebuff(ShipData.BuffDebuff newBuffDebuff)
 {
     buffDebuff.Add(newBuffDebuff);
     Recalculate_finalStats();
 }