Files
pyfa/eos/effects/propulsionskillcapneedbonusskilllevel.py
DarkPhoenix fd36a0b172 Replace submodules with actual files
Submodules never were actually useful
2013-06-10 22:12:34 +04:00

10 lines
481 B
Python
Executable File

# Used by:
# Implants named like: Zainou 'Gypsy' Propulsion Jamming PJ (6 of 6)
# Skill: Propulsion Jamming
type = "passive"
def handler(fit, container, context):
groups = ("Stasis Web", "Warp Scrambler", "Warp Disrupt Field Generator")
level = container.level if "skill" in context else 1
fit.modules.filteredItemBoost(lambda mod: mod.item.group.name in groups,
"capacitorNeed", container.getModifiedItemAttr("capNeedBonus") * level)