Files
pyfa/eos/effects/shieldtransportermaxrangebonus.py

10 lines
309 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"))