Files
pyfa/eos/effects/shipbonusscanprobestrengthmf.py

10 lines
367 B
Python

# shipBonusScanProbeStrengthMF
#
# Used by:
# Ship: Probe
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Minmatar Frigate").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe",
"baseSensorStrength", ship.getModifiedItemAttr("shipBonusMF2") * level)