10 lines
470 B
Python
Executable File
10 lines
470 B
Python
Executable File
# Used by:
|
|
# Variations of ship: Griffin (2 of 2)
|
|
type = "passive"
|
|
def handler(fit, ship, context):
|
|
level = fit.character.getSkill("Caldari Frigate").level
|
|
for type in ("Gravimetric", "Ladar", "Radar", "Magnetometric"):
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "ECM",
|
|
"scan{0}StrengthBonus".format(type),
|
|
ship.getModifiedItemAttr("shipBonusCF") * level)
|