Files
pyfa/eos/effects/scanstrengthaddpassive.py
2017-06-25 00:18:06 -04:00

10 lines
319 B
Python

# Not used by any item
type = "passive"
def handler(fit, module, context):
sensorTypes = ("Gravimetric", "Ladar", "Magnetometric", "Radar")
for sensorType in sensorTypes:
sensAttr = "scan{0}Strength".format(sensorType)
fit.ship.increaseItemAttr(sensAttr, module.getModifiedItemAttr(sensAttr))