Add missing effect for ancil shield boosts

This commit is contained in:
blitzmann
2016-05-18 00:01:22 -04:00
parent 30c1c00b9b
commit c24986fba3

View File

@@ -0,0 +1,7 @@
runTime = "late"
type = "projected", "active"
def handler(fit, module, context):
if "projected" not in context: return
amount = module.getModifiedItemAttr("shieldBonus")
speed = module.getModifiedItemAttr("duration") / 1000.0
fit.extraAttributes.increase("shieldRepair", amount / speed)