From e7dc9db75a8650d5b19ad63e52a8153f39d346ca Mon Sep 17 00:00:00 2001 From: Markus Maucher Date: Mon, 25 Apr 2016 12:10:00 +0200 Subject: [PATCH] fix separation of moving/non-moving drones --- eos/graph/fitDps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/graph/fitDps.py b/eos/graph/fitDps.py index 957f6778b..d914801e4 100644 --- a/eos/graph/fitDps.py +++ b/eos/graph/fitDps.py @@ -71,7 +71,7 @@ class FitDpsGraph(Graph): if distance <= fit.extraAttributes["droneControlRange"]: for drone in fit.drones: - multiplier = 1 if drone.getModifiedItemAttr("maxVelocity") > 0 else self.calculateTurretMultiplier(drone, data) + multiplier = 1 if drone.getModifiedItemAttr("maxVelocity") > 1 else self.calculateTurretMultiplier(drone, data) dps, _ = drone.damageStats(fit.targetResists) total += dps * multiplier return total