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

10 lines
429 B
Python

# Used by:
# Modules named like: Algorithm (8 of 8)
# Implant: Poteque 'Prospector' Hacking HC-905
# Skill: Hacking
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.modules.filteredItemIncrease(lambda mod: mod.item.requiresSkill("Hacking"),
"virusCoherence", container.getModifiedItemAttr("virusCoherenceBonus") * level)