Files
pyfa/eos/effects/ewskillrsdcapneedbonusskilllevel.py
2014-01-22 23:51:42 +04:00

9 lines
388 B
Python
Executable File

# Used by:
# Implants named like: 'Gypsy' Sensor (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)