Files
pyfa/eos/effects/subsystembonusgallenteelectronicscanprobestrength.py
2014-07-30 21:23:27 -04:00

8 lines
414 B
Python

# Used by:
# Subsystem: Proteus Electronics - Emergent Locus Analyzer
type = "passive"
def handler(fit, module, context):
level = fit.character.getSkill("Gallente Electronic Systems").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe",
"baseSensorStrength", module.getModifiedItemAttr("subsystemBonusGallenteElectronic") * level)