Files
pyfa/eos/effects/shipbonusscanprobestrengthcf.py
2014-03-15 17:33:45 +04:00

7 lines
353 B
Python
Executable File

# Used by:
# Ships named like: Heron (2 of 2)
type = "passive"
def handler(fit, ship, context):
level = fit.character.getSkill("Caldari Frigate").level
fit.modules.filteredChargeBoost(lambda mod: mod.charge.group.name == "Scanner Probe",
"baseSensorStrength", ship.getModifiedItemAttr("shipBonusCF2") * level)