From abcce8879fe357cbda2ad0f21b49ee54d8ea1151 Mon Sep 17 00:00:00 2001 From: blitzman Date: Tue, 22 Nov 2016 23:25:13 -0500 Subject: [PATCH] Fix #834 --- eos/effects/commandshipmultirelayeffect.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/eos/effects/commandshipmultirelayeffect.py b/eos/effects/commandshipmultirelayeffect.py index 019e88972..de57a5160 100644 --- a/eos/effects/commandshipmultirelayeffect.py +++ b/eos/effects/commandshipmultirelayeffect.py @@ -6,13 +6,6 @@ # 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 +def handler(fit, src, context): + fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupActive", src.getModifiedItemAttr("maxGangModules")) + fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Leadership"), "maxGroupOnline", src.getModifiedItemAttr("maxGangModules")) \ No newline at end of file