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

9 lines
406 B
Python
Executable File

# Used by:
# Implants named like: Zainou 'Gypsy' Sensor Linking SL (6 of 6)
# Skill: Sensor Linking
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.requiresSkill("Sensor Linking"),
"capacitorNeed", container.getModifiedItemAttr("capNeedBonus") * level)