Files
pyfa/eos/effects/commandshipmultirelayeffect.py
2014-05-31 22:13:59 +04:00

9 lines
400 B
Python
Executable File

# Used by:
# Ships from group: Capital Industrial Ship (2 of 2)
# Ships from group: Command Ship (8 of 8)
# Ships from group: Industrial Command Ship (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator",
"maxGroupActive", ship.getModifiedItemAttr("maxGangModules"))