Files
pyfa/eos/effects/effect2133.py
2019-03-16 14:08:20 -04:00

12 lines
322 B
Python

# energyTransferArrayMaxRangeBonus
#
# Used by:
# Ship: Augoror
# Ship: Osprey
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Remote Capacitor Transmitter",
"maxRange", ship.getModifiedItemAttr("maxRangeBonus2"))