Files
pyfa/eos/effects/effect2756.py
2019-03-16 14:08:20 -04:00

13 lines
440 B
Python

# shipBonusECMStrengthBonusCC
#
# Used by:
# Ship: Blackbird
type = "passive"
def handler(fit, ship, context):
for type in ("Gravimetric", "Magnetometric", "Ladar", "Radar"):
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
"scan{0}StrengthBonus".format(type), ship.getModifiedItemAttr("shipBonusCC"),
skill="Caldari Cruiser")