Files
pyfa/eos/effects/structurerigewcapacitorneed.py
2016-08-24 20:41:38 -04:00

6 lines
367 B
Python

type = "passive"
def handler(fit, src, context):
groups = ("Structure ECM Battery", "Structure Disruption Battery")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"capacitorNeed", src.getModifiedItemAttr("structureRigEwarCapUseBonus"),
stackingPenalties=True)