From c24986fba3d10eba44f613d2843bd0124d3951e1 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Wed, 18 May 2016 00:01:22 -0400 Subject: [PATCH] Add missing effect for ancil shield boosts --- eos/effects/modulebonusancillaryremoteshieldbooster.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 eos/effects/modulebonusancillaryremoteshieldbooster.py diff --git a/eos/effects/modulebonusancillaryremoteshieldbooster.py b/eos/effects/modulebonusancillaryremoteshieldbooster.py new file mode 100644 index 000000000..c10ccef70 --- /dev/null +++ b/eos/effects/modulebonusancillaryremoteshieldbooster.py @@ -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) \ No newline at end of file