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

10 lines
396 B
Python
Executable File

# Used by:
# Implants named like: Zainou 'Gypsy' Electronics EE (6 of 6)
# Modules named like: Overclocking (8 of 8)
# Implant: Genolution Core Augmentation CA-2
# Skill: CPU Management
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.ship.boostItemAttr("cpuOutput", container.getModifiedItemAttr("cpuOutputBonus2") * level)