Skip to content

Commit 9caf97c

Browse files
committed
add support for EI 3.13.0.0
add support for VoE professions
1 parent e746270 commit 9caf97c

24 files changed

Lines changed: 241 additions & 127 deletions

GW2_Color_Scheme.py

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
#Color codes for each class
22
ProfessionColor = {
33
##WARRIORS
4-
"Warrior":"#FF9933", "Berserker":"#FFA750", "Spellbreaker":"#FFB66D", "Bladesworn":"#FFC48A",
4+
"Warrior":"#FF9933", "Berserker":"#FFA750", "Spellbreaker":"#FFB66D", "Bladesworn":"#FFC48A", "Paragon": "#FFD2A7",
55
##GUARDIANS
6-
"Guardian":"#3399cc", "Dragonhunter":"#50A7D3", "Firebrand":"#6DB6DA", "Willbender":"#8AC4E1",
6+
"Guardian":"#3399cc", "Dragonhunter":"#50A7D3", "Firebrand":"#6DB6DA", "Willbender":"#8AC4E1", "Luminary":"#A7D2E8",
77
##REVENANTS
8-
"Revenant":"#CC6342", "Herald":"#D3795D", "Renegade":"#DA8F78", "Vindicator":"#E1A593",
8+
"Revenant":"#CC6342", "Herald":"#D3795D", "Renegade":"#DA8F78", "Vindicator":"#E1A593", "Conduit": "#E7B7AE",
99
##ENGINEERS
10-
"Engineer":"#996633", "Scrapper":"#A77B50", "Holosmith":"#B6916D", "Mechanist":"#C4A78A",
10+
"Engineer":"#996633", "Scrapper":"#A77B50", "Holosmith":"#B6916D", "Mechanist":"#C4A78A", "Amalgam": "#D2B6A7",
1111
##RANGERS
12-
"Ranger":"#66CC33", "Druid":"#7BD350", "Soulbeast":"#91DA6D", "Untamed":"#A7E18A",
12+
"Ranger":"#66CC33", "Druid":"#7BD350", "Soulbeast":"#91DA6D", "Untamed":"#A7E18A", "Galeshot": "#BDE7A7",
1313
##THIEVES
14-
"Thief":"#CC6666", "Daredevil":"#D37B7B", "Deadeye":"#DA9191", "Specter":"#E1A7A7",
14+
"Thief":"#CC6666", "Daredevil":"#D37B7B", "Deadeye":"#DA9191", "Specter":"#E1A7A7", "Antiquary": "#E8BDBD",
1515
##ELEMENTALISTS
16-
"Elementalist":"#EC5752", "Tempest":"#EE6F6A", "Weaver":"#F18783", "Catalyst":"#F49F9C",
16+
"Elementalist":"#EC5752", "Tempest":"#EE6F6A", "Weaver":"#F18783", "Catalyst":"#F49F9C", "Evoker": "#F6B7B5",
1717
#MESMERS
18-
"Mesmer":"#993399", "Chronomancer":"#A750A7", "Mirage":"#B66DB6", "Virtuoso":"#C48AC4",
18+
"Mesmer":"#993399", "Chronomancer":"#A750A7", "Mirage":"#B66DB6", "Virtuoso":"#C48AC4", "Troubadour": "#D2A7D2",
1919
##NECROMANCERS
20-
"Necromancer":"#339966", "Reaper":"#50A77B", "Scourge":"#6DB691", "Harbinger":"#8AC4A7"
20+
"Necromancer":"#339966", "Reaper":"#50A77B", "Scourge":"#6DB691", "Harbinger":"#8AC4A7", "Ritualist": "#A7D2BD",
21+
##Beta
22+
"Unknown":"#FFFFFF",
2123
}

TW5_parse_top_stats_tools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4485,14 +4485,15 @@ def get_stats_from_fight_json(fight_json, config, log):
44854485
playerDeaths = dict(id['combatReplayData']['dead'])
44864486
playerDowns = dict(id['combatReplayData']['down'])
44874487
playerDistToTag = id['statsAll'][0]['distToCom']
4488+
player_offset = math.floor(id['combatReplayData']['start']/pollingRate)
44884489
for deathKey, deathValue in playerDeaths.items():
44894490
if deathKey < 0: #Handle death on the field before main squad combat log starts
44904491
continue
44914492
#Death_OnTag[deathOnTag_prof_name]["Off_Tag"] = Death_OnTag[deathOnTag_prof_name]["Off_Tag"] + 1
44924493
for downKey, downValue in playerDowns.items():
44934494
if deathKey == downValue:
44944495
#process data for downKey
4495-
positionMark = int(downKey/pollingRate)
4496+
positionMark = int(downKey/pollingRate)-player_offset
44964497
positionDown = id['combatReplayData']['positions'][positionMark]
44974498
x1 = positionDown[0]
44984499
y1 = positionDown[1]

0 commit comments

Comments
 (0)