Files
pyfa/eos/effects/smallenergymaxrangebonus.py
2014-07-30 21:23:27 -04:00

7 lines
280 B
Python

# Used by:
# Ships named like: Coercer (2 of 2)
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Small Energy Turret"),
"maxRange", ship.getModifiedItemAttr("maxRangeBonus"))