14 lines
527 B
Python
14 lines
527 B
Python
# ewSkillTrackingDisruptionRangeDisruptionBonus
|
|
#
|
|
# Used by:
|
|
# Modules named like: Tracking Diagnostic Subroutines (8 of 8)
|
|
# Skill: Weapon 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.requiresSkill("Weapon Disruption"),
|
|
attr, container.getModifiedItemAttr("scanSkillEwStrengthBonus") * level)
|