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

13 lines
328 B
Python

# shieldBoosting
#
# Used by:
# Modules from group: Shield Booster (97 of 97)
runTime = "late"
type = "active"
def handler(fit, module, context):
amount = module.getModifiedItemAttr("shieldBonus")
speed = module.getModifiedItemAttr("duration") / 1000.0
fit.extraAttributes.increase("shieldRepair", amount / speed)