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

10 lines
383 B
Python
Executable File

# Used by:
# Ship: Magnate
# Ship: Sarum Magnate
# Ship: Tash-Murkon Magnate
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Amarr Frigate").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe",
"baseSensorStrength", ship.getModifiedItemAttr("shipBonus2AF") * level)