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

16 lines
501 B
Python

# entosisLink
#
# Used by:
# Modules from group: Entosis Link (6 of 6)
type = "active"
def handler(fit, module, context):
fit.ship.forceItemAttr("disallowAssistance", module.getModifiedItemAttr("disallowAssistance"))
for scanType in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
fit.ship.boostItemAttr(
"scan{}Strength".format(scanType),
module.getModifiedItemAttr("scan{}StrengthPercent".format(scanType)),
stackingPenalties=True
)