Files
pyfa/eos/effects/effect490.py
2019-03-16 14:08:20 -04:00

15 lines
601 B
Python

# engineeringPowerEngineeringOutputBonusPostPercentPowerOutputLocationShipGroupPowerCore
#
# Used by:
# Implants named like: Inherent Implants 'Squire' Power Grid Management EG (6 of 6)
# Modules named like: Ancillary Current Router (8 of 8)
# Subsystems named like: Core Augmented Reactor (4 of 4)
# Implant: Genolution Core Augmentation CA-1
# Skill: Power Grid Management
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.ship.boostItemAttr("powerOutput", container.getModifiedItemAttr("powerEngineeringOutputBonus") * level)