Files
pyfa/eos/effects/zcolinorcatractorvelocitybonus.py
2016-12-13 23:31:39 -08:00

11 lines
350 B
Python

# zColinOrcaTractorVelocityBonus
#
# Used by:
# Ships from group: Industrial Command Ship (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxTractorVelocity",
ship.getModifiedItemAttr("roleBonusTractorBeamVelocity"))