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

13 lines
443 B
Python

# ecmMagnetometricStrengthBonusPercent
#
# Used by:
# Modules from group: ECM Stabilizer (6 of 6)
type = "passive"
def handler(fit, module, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"scanMagnetometricStrengthBonus",
module.getModifiedItemAttr("ecmStrengthBonusPercent"),
stackingPenalties=True)