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

11 lines
300 B
Python

# rorqualCargoScanRangeBonus
#
# Used by:
# Ship: Rorqual
type = "passive"
def handler(fit, ship, context):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Cargo Scanner",
"cargoScanRange", ship.getModifiedItemAttr("cargoScannerRangeBonus"))