Files
pyfa/eos/effects/smallenergymaxrangebonus.py

9 lines
309 B
Python

# smallEnergyMaxRangeBonus
#
# 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"))