From e5430cac8463345c71b558a0564acb5fedce7842 Mon Sep 17 00:00:00 2001 From: DarkPhoenix Date: Mon, 20 Apr 2015 15:04:47 +0300 Subject: [PATCH] Do not apply ES bonus to weapon locus rigs --- eos/effects/commandbonustdmultiplywithcommandbonushidden.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/effects/commandbonustdmultiplywithcommandbonushidden.py b/eos/effects/commandbonustdmultiplywithcommandbonushidden.py index 05825349c..215d539b9 100644 --- a/eos/effects/commandbonustdmultiplywithcommandbonushidden.py +++ b/eos/effects/commandbonustdmultiplywithcommandbonushidden.py @@ -8,5 +8,5 @@ type = "active", "gang" def handler(fit, module, context): if "gang" not in context: return for bonus in ("maxRangeBonus", "falloffBonus", "trackingSpeedBonus"): - fit.modules.filteredItemBoost(lambda mod: lambda mod: mod.item.requiresSkill("Weapon Disruption"), + fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Weapon Disruption"), bonus, module.getModifiedItemAttr("commandBonusTD"))