-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwarcraft.py
100 lines (88 loc) · 4.07 KB
/
warcraft.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
regions = ["tw", "kr", "eu", "us"]
pvp_regions = ["us", "eu"]
pvp_modes = ["solo-shuffle", "2v2", "3v3", "rbg"]
specs = [u'Frost Mage', u'Balance Druid', u'Restoration Druid', u'Vengeance Demon Hunter', u'Windwalker Monk', u'Destruction Warlock', u'Holy Paladin', u'Arms Warrior', u'Brewmaster Monk', u'Retribution Paladin', u'Discipline Priest', u'Outlaw Rogue', u'Restoration Shaman', u'Blood Death Knight', u'Havoc Demon Hunter', u'Guardian Druid', u'Subtlety Rogue', u'Beast Mastery Hunter', u'Mistweaver Monk', u'Protection Paladin', u'Affliction Warlock', u'Enhancement Shaman', u'Shadow Priest', u'Survival Hunter', u'Assassination Rogue', u'Frost Death Knight', u'Elemental Shaman', u'Fury Warrior', u'Holy Priest', u'Arcane Mage', u'Unholy Death Knight', u'Feral Druid', u'Protection Warrior', u'Demonology Warlock', u'Marksmanship Hunter', u'Fire Mage', u'Devastation Evoker', u'Preservation Evoker', u'Augmentation Evoker']
spec_short_names = {}
spec_short_names["Frost Mage"] = "Frost"
spec_short_names["Balance Druid"] = "Bal"
spec_short_names["Restoration Druid"] = "RDru"
spec_short_names["Vengeance Demon Hunter"] = "VDH"
spec_short_names["Windwalker Monk"] = "WW"
spec_short_names["Destruction Warlock"] = "Destro"
spec_short_names["Holy Paladin"] = "HPal"
spec_short_names["Arms Warrior"] = "Arms"
spec_short_names["Brewmaster Monk"] = "Brew"
spec_short_names["Retribution Paladin"] = "Ret"
spec_short_names["Discipline Priest"] = "Disc"
spec_short_names["Outlaw Rogue"] = "Outlaw"
spec_short_names["Restoration Shaman"] = "RSha"
spec_short_names["Blood Death Knight"] = "BDK"
spec_short_names["Havoc Demon Hunter"] = "Havoc"
spec_short_names["Guardian Druid"] = "Bear"
spec_short_names["Subtlety Rogue"] = "Sub"
spec_short_names["Beast Mastery Hunter"] = "BM"
spec_short_names["Mistweaver Monk"] = "Mist"
spec_short_names["Protection Paladin"] = "ProtP"
spec_short_names["Affliction Warlock"] = "Aff"
spec_short_names["Enhancement Shaman"] = "Enh"
spec_short_names["Shadow Priest"] = "SPriest"
spec_short_names["Survival Hunter"] = "Surv"
spec_short_names["Assassination Rogue"] = "Sin"
spec_short_names["Frost Death Knight"] = "FDK"
spec_short_names["Elemental Shaman"] = "Ele"
spec_short_names["Fury Warrior"] = "Fury"
spec_short_names["Holy Priest"] = "Holy"
spec_short_names["Arcane Mage"] = "Arcane"
spec_short_names["Unholy Death Knight"] = "UDK"
spec_short_names["Feral Druid"] = "Feral"
spec_short_names["Protection Warrior"] = "ProtW"
spec_short_names["Demonology Warlock"] = "Demo"
spec_short_names["Marksmanship Hunter"] = "MM"
spec_short_names["Fire Mage"] = "Fire"
spec_short_names["Devastation Evoker"] = "Dev"
spec_short_names["Preservation Evoker"] = "Pres"
spec_short_names["Augmentation Evoker"] = "Aug"
tanks = [u'Vengeance Demon Hunter',
u'Brewmaster Monk',
u'Blood Death Knight',
u'Guardian Druid',
u'Protection Paladin',
u'Protection Warrior']
healers = [u'Restoration Druid',
u'Holy Paladin',
u'Discipline Priest',
u'Restoration Shaman',
u'Mistweaver Monk',
u'Holy Priest',
u'Preservation Evoker']
melee = [u'Windwalker Monk',
u'Arms Warrior',
u'Retribution Paladin',
u'Outlaw Rogue',
u'Havoc Demon Hunter',
u'Subtlety Rogue',
u'Enhancement Shaman',
u'Survival Hunter',
u'Assassination Rogue',
u'Frost Death Knight',
u'Fury Warrior',
u'Unholy Death Knight',
u'Feral Druid',]
ranged = [u'Frost Mage',
u'Balance Druid',
u'Destruction Warlock',
u'Beast Mastery Hunter',
u'Affliction Warlock',
u'Shadow Priest',
u'Elemental Shaman',
u'Arcane Mage',
u'Demonology Warlock',
u'Marksmanship Hunter',
u'Fire Mage',
u'Devastation Evoker',
u'Augmentation Evoker']
role_titles = {}
role_titles[0] = "Tanks"
role_titles[1] = "Healers"
role_titles[2] = "Melee"
role_titles[3] = "Ranged"