Merge remote-tracking branch 'origin/Remote_Repair_Pane_v2' into Remote_Repair_Pane_v2

# Conflicts:
#	eos/saveddata/fit.py
This commit is contained in:
Ebag333
2017-02-24 16:15:39 -08:00
3 changed files with 11 additions and 14 deletions

View File

@@ -1169,14 +1169,11 @@ class Fit(object):
return self.__remoteReps
for module in self.modules:
# Skip empty modules
if module.isEmpty:
continue
# Skip modules that aren't online
if getattr(module, "state", 0) < 1:
# Skip empty and non-Active modules
if module.isEmpty or module.state < State.ACTIVE:
continue
# Covert cycleTime to seconds
duration = module.cycleTime / 1000
# Skip modules with no duration.

View File

@@ -83,10 +83,10 @@ class OutgoingViewFull(StatsView):
# If we did anything intresting, we'd update our labels to reflect the new fit's stats here
stats = [
("labelRemoteArmor", lambda: fit.remoteReps["Armor"], 3, 0, 0, u"%s HP/s", None),
("labelRemoteShield", lambda: fit.remoteReps["Shield"], 3, 0, 0, u"%s HP/s", None),
("labelRemoteHull", lambda: fit.remoteReps["Hull"], 3, 0, 0, u"%s HP/s", None),
("labelRemoteCapacitor", lambda: fit.remoteReps["Capacitor"], 3, 0, 0, u"%s GJ/s", None),
("labelRemoteArmor", lambda: fit.armorRR, 3, 0, 0, u"%s HP/s", None),
("labelRemoteShield", lambda: fit.shieldRR, 3, 0, 0, u"%s HP/s", None),
("labelRemoteHull", lambda: fit.hullRR, 3, 0, 0, u"%s HP/s", None),
("labelRemoteCapacitor", lambda: fit.capTransfer, 3, 0, 0, u"%s GJ/s", None),
]
counter = 0

View File

@@ -83,10 +83,10 @@ class OutgoingViewFull(StatsView):
# If we did anything intresting, we'd update our labels to reflect the new fit's stats here
stats = [
("labelRemoteArmor", lambda: fit.remoteReps["Armor"], 3, 0, 0, u"%s HP/s", None),
("labelRemoteShield", lambda: fit.remoteReps["Shield"], 3, 0, 0, u"%s HP/s", None),
("labelRemoteHull", lambda: fit.remoteReps["Hull"], 3, 0, 0, u"%s HP/s", None),
("labelRemoteCapacitor", lambda: fit.remoteReps["Capacitor"], 3, 0, 0, u"%s GJ/s", None),
("labelRemoteArmor", lambda: fit.armorRR, 3, 0, 0, u"%s HP/s", None),
("labelRemoteShield", lambda: fit.shieldRR, 3, 0, 0, u"%s HP/s", None),
("labelRemoteHull", lambda: fit.hullRR, 3, 0, 0, u"%s HP/s", None),
("labelRemoteCapacitor", lambda: fit.capTransfer, 3, 0, 0, u"%s GJ/s", None),
]
counter = 0