示例#1
0
 public override void PostSpawnSetup(bool respawningAfterLoad)
 {
     VoidNet = parent.Map.GetComponent <MapVoidEnergyNet>();
     if (!parent.def.useHitPoints)
     {
         MaxHitPoints = 0;
     }
     else
     {
         MaxHitPoints = parent.MaxHitPoints;
     }
     TwiceCheck = parent.def.tickerType == TickerType.Rare;
     base.PostSpawnSetup(respawningAfterLoad);
 }
示例#2
0
 public override void PostSpawnSetup(bool respawningAfterLoad)
 {
     VoidNet       = parent.Map.GetComponent <MapVoidEnergyNet>();
     flickableComp = parent.GetComp <CompFlickable>();
     base.PostSpawnSetup(respawningAfterLoad);
 }