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

17 lines
530 B
Python

# moduleBonusSkirmishWarfareLinkRapidDeployment
#
# Used by:
# Variations of module: Skirmish Warfare Link - Rapid Deployment I (2 of 2)
type = "gang", "active"
gangBoost = "speedFactor"
# runTime = "late"
def handler(fit, module, context):
if "gang" not in context:
return
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Propulsion Module",
"speedFactor", module.getModifiedItemAttr("commandBonus"),
stackingPenalties=True)