Files
pyfa/eos/effects/shieldtransportermaxrangebonus.py

12 lines
349 B
Python

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