private void PerformAdvancedEnergyTechnician() { if (!StationLocation.IsUpperDeck()) { return; } foreach (var zone in SittingDuck.Zones) { var isCurrentZone = (StationLocation.ZoneLocation() == zone.ZoneLocation); zone.UpperStation.AddBonusShield(isCurrentZone ? 2 : 1); } }
public static bool IsLowerDeck(this StationLocation stationLocation) { return(!stationLocation.IsUpperDeck()); }