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

8 lines
410 B
Python

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