Files
pyfa/eos/effects/scanstrengthaddpassive.py
blitzmann 020cc9e295 Revert "Clean up unused effects"
This reverts commit 842be9535b.
2018-05-20 00:22:14 -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))