14 lines
548 B
Python
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)
|