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

8 lines
320 B
Python

# zColinOrcaTractorRangeBonus
#
# Used by:
# Ships from group: Industrial Command Ship (2 of 2)
type = "passive"
def handler(fit, src, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tractor Beam", "maxRange", src.getModifiedItemAttr("roleBonusTractorBeamRange"), stackingPenalties=True)