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

16 lines
451 B
Python

# shipModuleAncillaryRemoteShieldBooster
#
# Used by:
# Modules from group: Ancillary Remote Shield Booster (4 of 4)
type = "projected", "active"
runTime = "late"
def handler(fit, module, context, **kwargs):
if "projected" not in context:
return
amount = module.getModifiedItemAttr("shieldBonus")
speed = module.getModifiedItemAttr("duration") / 1000.0
fit.extraAttributes.increase("shieldRepair", amount / speed, **kwargs)