Add missing effect for ancil shield boosts
This commit is contained in:
7
eos/effects/modulebonusancillaryremoteshieldbooster.py
Normal file
7
eos/effects/modulebonusancillaryremoteshieldbooster.py
Normal 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)
|
||||
Reference in New Issue
Block a user