-
Notifications
You must be signed in to change notification settings - Fork 8
/
c_bosses.py
359 lines (335 loc) · 11 KB
/
c_bosses.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
BOSSES_GUIDS = {
"007F23": "Highlord's Nemesis Trainer",
"0079AA": "Heroic Training Dummy",
"007995": "Archavon the Stone Watcher",
"0084C9": "Emalon the Storm Watcher",
"0088C5": "Koralon the Flame Watcher",
"009621": "Toravon the Ice Watcher",
# "0070BB": "Malygos",
"0070BC": "Sartharion",
"0027C8": "Onyxia",
"008F04": "Lord Marrowgar",
"008FF7": "Lady Deathwhisper",
"0092A4": "The Skybreaker",
"00915F": "Orgrim's Hammer",
"0093B5": "Deathbringer Saurfang",
"008F12": "Festergut",
"008F13": "Rotface",
"008F46": "Professor Putricide",
"009454": "Prince Keleseth",
"009455": "Prince Taldaram",
"009452": "Prince Valanar",
"009443": "Blood-Queen Lana'thel",
"008FB5": "Valithria Dreamwalker",
"008FF5": "Sindragosa",
"008EF5": "The Lich King",
"009B42": "General Zarithrian",
"009B43": "Saviana Ragefire",
"009B47": "Baltharus the Warborn",
"009BB7": "Halion",
"009CCE": "Halion",
"0087EC": "Gormok the Impaler",
"008948": "Acidmaw",
"0087EF": "Dreadscale",
"0087ED": "Icehowl",
"0087DC": "Lord Jaraxxus",
"0086C0": "Eydis Darkbane",
"0086C1": "Fjola Lightbane",
"008704": "Anub'arak",
"0076F1": "Vesperon",
"0076F3": "Shadron",
"0076F4": "Tenebron",
"0070BC": "Sartharion",
"003E54": "Anub'Rekhan",
"003E51": "Grand Widow Faerlina",
"003E50": "Maexxna",
"003E52": "Noth the Plaguebringer",
"003E40": "Heigan the Unclean",
"003E8B": "Loatheb",
"003EBD": "Instructor Razuvious",
"003EBC": "Gothik the Harvester",
"003EBF": "Sir Zeliek",
"003EC0": "Thane Korth'azz",
"003EC1": "Lady Blaumeux",
"007755": "Baron Rivendare",
"003E9C": "Patchwerk",
"003E3B": "Grobbulus",
"003E3C": "Gluth",
"003E38": "Thaddius",
"003E75": "Sapphiron",
"003E76": "Kel'Thuzad",
# "008159": "Flame Leviathan",
"00815E": "Ignis the Furnace Master",
"0081A2": "Razorscale",
"00820D": "XT-002 Deconstructor",
"008231": "Heart of the Deconstructor",
"00809F": "Runemaster Molgeim",
"008059": "Stormcaller Brundir",
"008063": "Steelbreaker",
"0080A2": "Kologarn",
"0082EB": "Auriaya",
"00808A": "Freya",
"00804D": "Hodir",
"008061": "Thorim",
"008246": "Mimiron",
"008298": "Leviathan Mk II",
"008373": "VX-001",
"008386": "Aerial Command Unit",
"0081F7": "General Vezax",
"008208": "Yogg-Saron",
"008067": "Algalon the Observer",
# Magtheridon's Lair
"004369": "Magtheridon",
# Karazhan
"003F33": "Shadikith the Glider",
"003F34": "Rokad the Ravager",
"003F35": "Hyakiss the Lurker",
"003D48": "Terestian Illhoof",
"003D49": "Netherspite",
"003D4A": "Prince Malchezaar",
"003D4B": "The Curator",
"003F18": "Attumen the Huntsman",
"00408C": "Shade of Aran",
"004049": "Maiden of Virtue",
"004349": "Nightbane",
"003D47": "Moroes",
"00426F": "Lady Keira Berrybuck",
"004DA0": "Lady Catriona Von'Indi",
"004DA1": "Lord Crispin Ference",
"004DA2": "Baron Rafe Dreuger",
"004DA3": "Baroness Dorothea Millstipe",
"004DA4": "Lord Robin Daris",
# Opera House
"00447F": "Dorothee",
"00448C": "Tito",
"00448A": "Roar",
"004487": "Strawman",
"00448B": "Tinhead",
"0046F8": "The Crone",
"004471": "The Big Bad Wolf",
"00447D": "Julianne",
"00447E": "Romulo",
# Gruul"s Lair
"004A64": "Gruul the Dragonkiller",
"00498F": "High King Maulgar",
"004990": "Krosh Firehand",
"004992": "Olm the Summoner",
"004993": "Kiggler the Crazed",
"004994": "Blindeye the Seer",
# Serpentshrine Cavern
"0052E0": "Hydross the Unstable",
"0052E1": "The Lurker Below",
"0052DF": "Leotheras the Blind",
"0052DE": "Fathom-Lord Karathress",
"0055CE": "Fathom-Guard Sharkkis",
"0055CD": "Fathom-Guard Tidalvess",
"0055CC": "Fathom-Guard Caribdis",
"0052DD": "Morogrim Tidewalker",
"0052DC": "Lady Vashj",
# The Eye
"004C3A": "Al'ar",
"004C3C": "Void Reaver",
"004975": "High Astromancer Solarian",
"004CA6": "Kael'thas Sunstrider",
"004E5C": "Lord Sanguinar",
"004E5E": "Grand Astromancer Capernian",
"004E5F": "Master Engineer Telonicus",
"004E60": "Thaladred the Darkener",
# Black Temple
"005967": "High Warlord Naj'entus",
"005972": "Supremus",
"005939": "Shade of Akama",
"005957": "Teron Gorefiend",
"0059A4": "Gurtogg Bloodboil",
"005948": "Reliquary of Souls",
"005B7A": "Essence of Suffering",
"005B7B": "Essence of Desire",
"005B7C": "Essence of Anger",
"0059A3": "Mother of Shahraz",
# Illidari Council
"0059A5": "High Nethermancer Zerevor",
"0059A6": "Gathios the Shatterer",
"0059A7": "Lady Malande",
"0059A8": "Veras Darkshadow",
"005985": "Illidan",
# Mount Hyjal
"004567": "Rage Winterchill",
"004590": "Anetheron",
"0045E0": "Kaz'rogal",
"0045B2": "Azgalor",
"004630": "Archimonde",
# Zul"Aman
"005C16": "Akil'zon",
"005C18": "Nalorakk",
"005C1A": "Jan'alai",
"005C19": "Halazzi",
"005EAF": "Hex Lord Malacrass",
"005D37": "Zul'jin",
# Sunwell Plateau
"006112": "Kalecgos",
"00613C": "Sathrovarr the Corruptor",
"006132": "Brutallus",
"0061CE": "Felmyst",
"00624E": "Grand Warlock Alythess",
"00624D": "Lady Sacrolash",
"00648D": "M'uru",
"0064F0": "Entropius",
"0062E3": "Kil'jaeden",
# Temple of AhnQiraj:
"003B9F": "The Prophet Skeram",
"003C9C": "Battleguard Sartura",
"003C96": "Fankriss the Unyielding",
"003C95": "Princess Huhuran",
"003BAC": "Emperor Vek'lor",
"003BAB": "Emperor Vek'nilash",
"003D6F": "C'Thun",
"003CB7": "Princess Yauj",
"003CB8": "Vem",
"003C97": "Lord Kri",
"003BC3": "Viscidus",
"003C9D": "Ouro",
# Ruins of AhnQiraj:
"003BF4": "Kurinnaxx",
"003BED": "General Rajaxx",
"003BEC": "Moam",
"003C0A": "Buru the Gorger",
"003C09": "Ayamiss the Hunter",
"003BEB": "Ossirian the Unscarred",
# Zul'Gurub:
"0038AB": "High Priest Venoxis",
"0038B5": "High Priestess Jeklik",
"0038AE": "High Priestess Marli",
"0038AD": "High Priest Thekal",
"0038B3": "Hight Priestess Arlokk",
"0039F2": "Hakkar",
"002C76": "Bloodlord Mandokir",
"003B0A": "Gahz'Rankha",
"002C74": "Jin'do the Hexxer",
# Molten Core:
"002F56": "Lucifron",
"002ECE": "Magmadar",
"002FE3": "Gehennas",
"002F19": "Garr",
"002FE8": "Shazzrah",
"002F18": "Baron Geddon",
"002ED4": "Golemagg the Incinerator",
"002F42": "Sulfuron Harbringer",
"002EF2": "Majordomo Executus",
"002D90": "Flamewaker Elite",
"002D8F": "Flamewaker Healer",
"002CEE": "Ragnaros",
# Blackwing Lair:
"003093": "Razorgore the Untamed",
"0032DC": "Vaelastrasz the Corrupt",
"002EF1": "Broodlord Lashlayer",
"002ECF": "Firemaw",
"003909": "Ebonroc",
"002ECD": "Flamegor",
"0036C4": "Chromaggus",
"002D3F": "Nefarian",
}
TOC_CHAMPIONS = {
"00869D": "Tyrius Duskblade <DK>",
"00869C": "Kavina Grovesong <Druid>",
"0086A5": "Melador Valestrider <Druid>",
"0086A3": "Alyssia Moonstalker <Hunter>",
"0086A4": "Noozle Whizzlestick <Mage>",
"0086A1": "Velanaa <Paladin>",
"0086A7": "Baelnor Lightbearer <Paladin>",
"0086A2": "Anthar Forgemender <Priest>",
"0086A9": "Brienna Nightfell <Priest>",
"0086A8": "Irieth Shadowstep <Rogue>",
"00869F": "Shaabad <Shaman>",
"0086A6": "Saamul <Shaman>",
"0086AA": "Serissa Grimdabbler <Warlock>",
"0086AB": "Shocuul <Warrior>",
"00869A": "Gorgrim Shadowcleave <DK>",
"008693": "Birana Stormhoof <Druid>",
"00869B": "Erin Misthoof <Druid>",
"008690": "Ruj'kah <Hunter>",
"008691": "Ginselle Blightslinger <Mage>",
"00868D": "Liandra Suncaller <Paladin>",
"008698": "Malithas Brightblade <Paladin>",
"00868F": "Caiphus the Stern <Priest>",
"008689": "Vivienne Blackwhisper <Priest>",
"008696": "Maz'dinah <Rogue>",
"008697": "Broln Stouthorn <Shaman>",
"00868C": "Thrakgar <Shaman>",
"008692": "Harkzog <Warlock>",
"008695": "Narrhok Steelbreaker <Warrior>",
}
MULTIBOSSES = {
"Halion": ["009BB7", "009CCE", "009CD2"],
"Gunship": ["0092A4", "00915F"],
"Blood Prince Council": ["009454", "009455", "009452"],
"Northrend Beasts": ["0087EC", "008948", "0087EF", "0087ED"],
"Faction Champions": list(TOC_CHAMPIONS),
"Twin Val'kyr": ["0086C0", "0086C1"],
"The Four Horsemen": ["003EBF", "007755", "003EC1", "003EC0"],
"Mimiron": ["008246", "008298", "008373", "008386"],
"Assembly of Iron": ["008063", "00809F", "008059"],
# "Kologarn": ["0080A2", "0080A5", "0080A6"],
"XT-002 Deconstructor": ["00820D", "008231"],
"Yogg-Saron": ["008208", "008170", "0084C1", "0084BF"],
"Razorscale": ["0081A2", "00826C", "008436", "0082AD"],
"Servant Quarters": ["003F33", "003F34", "003F35"],
"Moroes": ["003D47", "00426F", "004DA0", "004DA1", "004DA2", "004DA3", "004DA4"],
"Opera House": ["00447F", "00448C", "00448A", "004487", "00448B", "0046F8", "004471", "00447D", "00447E"],
"Fathom-Lord Karathress": ["0052DE", "0055CE", "0055CD", "0055CC"],
"Kael'thas Sunstrider": ["004CA6", "004E5C", "004E5E", "004E5F", "004E60"],
"Reliquary of Souls": ["005948", "005B7A", "005B7B", "005B7C"],
"Illidari Council": ["0059A5", "0059A6", "0059A7", "0059A8"],
"Kalecgos": ["006112", "00613C"],
"Eredar Twins": ["00624E", "00624D"],
"M'uru": ["00648D", "0064F0"],
"Twin Emperors": ["003BAC", "003BAB"],
"Bug Trio": ["003CB7", "003CB8", "003C97"],
"Majordomo Executus": ["002EF2", "002D90", "002D8F"],
# "Gehennas": ["002FE3", "002D8D"],
"Sulfuron Harbringer": ["002F42", "002D8E"],
}
COWARDS = {
"0080A2": "Kologarn",
"00804D": "Hodir",
"008061": "Thorim",
"00808A": "Freya",
"008067": "Algalon the Observer",
}
ENCOUNTER_MIN_DURATION = {
"Malygos": 120,
"Onyxia": 25,
"Lord Marrowgar": 25,
"Lady Deathwhisper": 25,
"Gunship Battle": 60,
"Deathbringer Saurfang": 30,
"Festergut": 30,
"Rotface": 25,
"Professor Putricide": 75,
"Blood Prince Council": 20,
"Blood-Queen Lana'thel": 70,
"Valithria Dreamwalker": 30,
"Sindragosa": 70,
"The Lich King": 320,
"Halion": 75,
"Northrend Beasts": 75,
}
ALL_FIGHT_NAMES = set(BOSSES_GUIDS.values()) | set(MULTIBOSSES)
def _convert_to_html_name(name: str):
return name.lower().replace(' ', '-').replace("'", '')
BOSSES_FROM_HTML = {
_convert_to_html_name(name): name
for name in ALL_FIGHT_NAMES
}
BOSSES_GUIDS.update(TOC_CHAMPIONS)
ENCOUNTER_NAMES = {
boss_guid: encounter_name
for encounter_name, boss_guids in MULTIBOSSES.items()
for boss_guid in boss_guids
}
def convert_to_fight_name(boss_id: str):
if len(boss_id) == 18:
boss_id = boss_id[6:-6]
if boss_id in ENCOUNTER_NAMES:
return ENCOUNTER_NAMES[boss_id]
if boss_id in BOSSES_GUIDS:
return BOSSES_GUIDS[boss_id]