Files
pyfa/eos/effects/zcolinorcatractorvelocitybonus.py
2016-11-20 15:37:55 -05:00

10 lines
316 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"))