Skip to content

Commit

Permalink
Fix EV drones (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
blitzmann committed May 22, 2016
1 parent 7406210 commit d04ea5b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eos/effects/energyneutralizerfalloff.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
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)

0 comments on commit d04ea5b

Please sign in to comment.