Files
pyfa/eos/effects/shieldtransportermaxrangebonus.py
2016-09-27 00:34:14 -04:00

9 lines
433 B
Python

# shieldTransporterMaxRangeBonus
#
# Used by:
# Ship: Osprey
# Ship: Scythe
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Shield Booster", "maxRange", ship.getModifiedItemAttr("maxRangeBonus"))
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Ancillary Remote Shield Booster", "maxRange", ship.getModifiedItemAttr("maxRangeBonus"))