@Override public boolean canSpot() { // per a recent ruling on the official forums, aero units can't spot // for indirect LRM fire, unless they have a recon cam, an infrared or // hyperspec imager, or a high-res imager and it's not night if (!isAirborne() || hasWorkingMisc(MiscType.F_RECON_CAMERA) || hasWorkingMisc(MiscType.F_INFRARED_IMAGER) || hasWorkingMisc(MiscType.F_HYPERSPECTRAL_IMAGER) || (hasWorkingMisc(MiscType.F_HIRES_IMAGER) && ((game.getPlanetaryConditions().getLight() == PlanetaryConditions.L_DAY) || (game.getPlanetaryConditions().getLight() == PlanetaryConditions.L_DUSK)))) { return true; } else { return false; } }
@Override public int getHeatCapacity(boolean includeRadicalHeatSink) { int capacity = (getHeatSinks() * (getHeatType() + 1)); if (includeRadicalHeatSink && hasWorkingMisc(MiscType.F_RADICAL_HEATSINK)) { capacity += Math.ceil(getHeatSinks() * 0.4); } return capacity; }
boolean blueShield = hasWorkingMisc(MiscType.F_BLUE_SHIELD); if (hasWorkingMisc(MiscType.F_CASE) || isClan()) { continue; if (hasWorkingMisc(MiscType.F_ADVANCED_FIRECONTROL)) { targetingSystemBVMod = 1.0; } else if (hasWorkingMisc(MiscType.F_BASIC_FIRECONTROL)) { targetingSystemBVMod = .9; } else { if (hasWorkingMisc(MiscType.F_DRONE_OPERATING_SYSTEM)) { dBV *= 0.8; cockpitMod = 0.95; finalBV *= cockpitMod; } else if (hasWorkingMisc(MiscType.F_DRONE_OPERATING_SYSTEM)) { finalBV *= 0.95;