Files
pyfa/eos/effects/flagshipmultirelayeffect.py
2016-10-19 14:14:34 -07:00

15 lines
543 B
Python

# flagshipmultiRelayEffect
#
# Used by:
# Module: Command Processor I
type = "passive"
def handler(fit, module, context):
# Note: we increase maxGroupActive by two.
# If we only increased it by one, we'd get the number to stay equal
# As Comman Processors use one themselves too
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name == "Gang Coordinator" and
"maxGroupActive" in mod.itemModifiedAttributes,
"maxGroupActive", 1)