Add fighters to DPS graph

This commit is contained in:
blitzmann
2016-04-30 18:37:00 -04:00
parent 8f6f55b001
commit 3a62a6c40d

View File

@@ -77,6 +77,11 @@ class FitDpsGraph(Graph):
multiplier = 1 if drone.getModifiedItemAttr("maxVelocity") > 1 else self.calculateTurretMultiplier(drone, data)
dps, _ = drone.damageStats(fit.targetResists)
total += dps * multiplier
for fighter in fit.fighters:
dps, _ = fighter.damageStats(fit.targetResists)
total += dps
return total
def calculateMissileMultiplier(self, mod, data):