Skip to content

Commit a0a52e3

Browse files
committed
s2gs for HotS, WIP
1 parent 5fba19b commit a0a52e3

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

sc2reader/resources.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,16 +1037,12 @@ def load_players(self):
10371037
player.income_graph = stats.get('Resource Collection Rate', None)
10381038

10391039
# HotS Stats
1040-
# TODO: Add the XP stats?
1041-
# 'Units Produced XP'
1042-
# 'Killed Unit XP'
1043-
# 'Structures Produced XP'
1044-
# 'Structures Razed XP'
1045-
# 'Technology XP'
10461040
player.upgrade_spending_graph = stats.get('Upgrade Spending', None)
10471041
player.workers_active_graph = stats.get('Workers Active', None)
1048-
player.combat_efficiency = stats.get('Combat Efficiency',None)
1049-
player.supply_efficiency = stats.get('Supply Efficiency', None)
1042+
player.enemies_destroyed = stats.get('Enemies Destroyed',None)
1043+
player.time_supply_capped = stats.get('Time Supply Capped', None)
1044+
player.idle_production_time = stats.get('Idle Production Time', None)
1045+
player.resources_spent = stats.get('Resources Spent', None)
10501046
player.apm = stats.get('APM', None)
10511047

10521048
# Economic Breakdown Tab

0 commit comments

Comments
 (0)