Files
pyfa/eos/effects/scanstrengthtargetpercentbonus.py
2014-07-30 21:23:27 -04:00

10 lines
435 B
Python

# Used by:
# Modules from group: Projected ECCM (7 of 7)
type = "projected", "active"
def handler(fit, module, context):
if "projected" not in context: return
for type in ("Gravimetric", "Magnetometric", "Radar", "Ladar"):
fit.ship.boostItemAttr("scan%sStrength" % type,
module.getModifiedItemAttr("scan%sStrengthPercent" % type),
stackingPenalties = True)