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

7 lines
285 B
Python
Executable File

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