Beispiel #1
0
 //Clear these variables when loading a save, otherwise old data may persist between loads
 public static void ClearStaticInfo()
 {
     QueueDamage.ClearLastNotification();
     queueDamages = new List <QueueDamage>();
 }
Beispiel #2
0
 public static void DoPressureDamage(GameObject obj)
 {
     BuildingHP.DamageSourceInfo damage = GetPressureDamage();
     obj.Trigger((int)GameHashes.DoBuildingDamage, damage);
     QueueDamage.ExecuteNotification(obj);
 }