11 lines
545 B
Python
Executable File
11 lines
545 B
Python
Executable File
# Used by:
|
|
# Modules named like: Tracking Diagnostic (8 of 8)
|
|
# Skill: Turret Destabilization
|
|
type = "passive"
|
|
def handler(fit, container, context):
|
|
level = container.level if "skill" in context else 1
|
|
for attr in ("maxRangeBonus", "falloffBonus"):
|
|
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name == "Tracking Disruptor",
|
|
attr, container.getModifiedItemAttr("scanSkillEwStrengthBonus") * level,
|
|
stackingPenalties = "skill" not in context)
|