From d04ea5b0615ee34a78ad646dbe7c534633d3c21a Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 22 May 2016 13:32:59 -0400 Subject: [PATCH] Fix EV drones (#619) --- eos/effects/energyneutralizerfalloff.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eos/effects/energyneutralizerfalloff.py b/eos/effects/energyneutralizerfalloff.py index 402f20333..6bd17c18e 100644 --- a/eos/effects/energyneutralizerfalloff.py +++ b/eos/effects/energyneutralizerfalloff.py @@ -8,7 +8,6 @@ type = "active", "projected" def handler(fit, container, context): if "projected" in context and ((hasattr(container, "state") \ and container.state >= State.ACTIVE) or hasattr(container, "amountActive")): - multiplier = container.amountActive if hasattr(container, "amountActive") else 1 amount = container.getModifiedItemAttr("energyDestabilizationAmount") time = container.getModifiedItemAttr("duration") - fit.addDrain(time, amount * multiplier, 0) + fit.addDrain(time, amount, 0)