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

14 lines
548 B
Python

# energysystemsoperationCapRechargeBonusPostPercentRechargeRateLocationShipGroupCapacitor
#
# Used by:
# Implants named like: Inherent Implants 'Squire' Capacitor Systems Operation EO (6 of 6)
# Modules named like: Capacitor Control Circuit (8 of 8)
# Implant: Genolution Core Augmentation CA-2
# Skill: Capacitor Systems Operation
type = "passive"
def handler(fit, container, context):
level = container.level if "skill" in context else 1
fit.ship.boostItemAttr("rechargeRate", container.getModifiedItemAttr("capRechargeBonus") * level)