Files
pyfa/eos/effects/shipbonusscanprobestrengthmf.py
2014-01-22 23:51:42 +04:00

9 lines
358 B
Python
Executable File

# Used by:
# Ship: Probe
# Ship: Vherokior 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)