Files
pyfa/eos/effects/subsystembonusamarrelectronic2tractorbeamvelocity.py

10 lines
455 B
Python

# subSystemBonusAmarrElectronic2TractorBeamVelocity
#
# Used by:
# Subsystem: Legion Electronics - Emergent Locus Analyzer
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Amarr Electronic Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam",
"maxTractorVelocity", module.getModifiedItemAttr("subsystemBonusAmarrElectronic2") * level)