Files
pyfa/eos/effects/smallhybridmaxrangebonus.py
2014-05-31 22:13:59 +04:00

7 lines
322 B
Python
Executable File

# Used by:
# Ships from group: Destroyer (9 of 18)
# Variations of ship: Catalyst (6 of 7)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Hybrid Turret"),
"maxRange", ship.getModifiedItemAttr("maxRangeBonus"))