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

7 lines
285 B
Python

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