Files
pyfa/eos/effects/effect2232.py
2019-03-16 14:08:20 -04:00

13 lines
418 B
Python

# scanStrengthBonusPercentOnline
#
# Used by:
# Modules from group: Signal Amplifier (7 of 7)
type = "passive"
def handler(fit, module, context):
for type in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
fit.ship.boostItemAttr("scan%sStrength" % type,
module.getModifiedItemAttr("scan%sStrengthPercent" % type),
stackingPenalties=True)