Files
pyfa/eos/effects/subsystembonusgallenteelectronicwarpscramblerange.py

10 lines
458 B
Python

# subsystemBonusGallenteElectronicWarpScrambleRange
#
# Used by:
# Subsystem: Proteus Electronics - Friction Extension Processor
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Gallente Electronic Systems").level
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Warp Scrambler",
"maxRange", module.getModifiedItemAttr("subsystemBonusGallenteElectronic") * level)