10 lines
387 B
Python
10 lines
387 B
Python
# Not used by any item
|
|
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)
|