Files
pyfa/eos/effects/shieldtransportermaxrangebonus.py
2013-08-21 01:07:27 +04:00

10 lines
314 B
Python
Executable File

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