Files
pyfa/eos/effects/commandshipmultirelayeffect.py
2016-11-20 15:37:55 -05:00

19 lines
640 B
Python

# commandshipMultiRelayEffect
#
# Used by:
# Ships from group: Command Ship (8 of 8)
# Ships from group: Industrial Command Ship (2 of 2)
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemIncrease(lambda mod: mod.item.group.name in
(
"Command Burst",
),
"maxGroupOnline",
ship.getModifiedItemAttr("maxGangModules"),
)
# TODO: test