Files
pyfa/eos/effects/shipbonusscanprobestrengthmf.py

10 lines
388 B
Python

# shipBonusScanProbeStrengthMF
#
# Used by:
# Ships named like: Probe (2 of 2)
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)