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

18 lines
581 B
Python

# moduleBonusSkirmishWarfareLinkInterdictionManeuvers
#
# Used by:
# Variations of module: Skirmish Warfare Link - Interdiction Maneuvers I (2 of 2)
type = "gang", "active"
gangBoost = "interdictionMaxRange"
# runTime = "late"
def handler(fit, module, context):
if "gang" not in context:
return
groups = ("Stasis Web", "Warp Scrambler")
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"maxRange", module.getModifiedItemAttr("commandBonus"),
stackingPenalties=True)