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

10 lines
442 B
Python

# Used by:
# Modules named like: Memetic Algorithm Bank (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)