Files
pyfa/eos/effects/electronicscpuoutputbonuspostpercentcpuoutputlocationshipgroupcomputer.py
2014-03-15 17:33:45 +04:00

10 lines
411 B
Python
Executable File

# Used by:
# Implants named like: Zainou 'Gypsy' Electronics EE (6 of 6)
# Modules named like: Processor Overclocking Unit (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)