-
Notifications
You must be signed in to change notification settings - Fork 3
/
analyze-bosses.mjs
722 lines (668 loc) · 13.1 KB
/
analyze-bosses.mjs
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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
import {
createKillsPerCategoryMap,
writeMap,
} from './utils.mjs';
const BOSSES_PER_CATEGORY = new Map([
/* Official boss categories as per the in-game Bosstiary. */
['nemesis-boss', new Set([
'Alptramun',
'Anmothra',
'Arachir the Ancient One',
'Arthom the Hunter',
'Bakragore',
'Bane Lord',
'Barbaria',
'Battlemaster Zunzu',
'Big Boss Trolliver',
'Burster',
'Captain Jones',
'Chikhaton',
'Chizzoron the Distorter',
'Countess Sorrow',
'Cublarc the Plunderer',
'Devovorga',
'Dharalion',
'Diblis the Fair',
'Dracola',
'Dreadful Disruptor',
'Dreadmaw',
'Elvira Hammerthrust',
'Feroxa',
'Ferumbras Mortal Shell',
'Ferumbras',
'Flamecaller Zazrak',
'Fleabringer',
'Foreman Kneebiter',
'Furyosa',
'Gaz\'haragoth',
'General Murius',
'Ghazbaran',
'Goshnar\'s Megalomania',
'Grand Mother Foulscale',
'Grandfather Tridian',
'Gravelord Oshuran',
'Groam',
'Grorlam',
'Hairman the Huge',
'Hatebreeder',
'High Templar Cobrass',
'Hirintror',
'Horestis',
'Irahsae',
'Izcandar Champion of Summer',
'Izcandar Champion of Winter',
'Izcandar the Banished',
'Jesse the Wicked',
'King Chuck',
'Lizard Gate Guardian',
'Mahatheb',
'Malofur Mangrinder',
'Man in the Cave',
'Massacre',
'Maxxenius',
'Morgaroth',
'Mornenion',
'Morshabaal',
'Mr. Punish',
'Ocyakao',
'Omrafir',
'Oodok Witchmaster',
'Orshabaal',
'Phrodomo',
'Plagueroot',
'Raxias',
'Robby the Reckless',
'Rotworm Queen',
'Rukor Zad',
'Shlorg',
'Sir Valorcrest',
'Smuggler Baron Silvertoe',
'Teneshpar',
'The Abomination',
'The Big Bad One',
'The Blightfather',
'The Evil Eye',
'The First Dragon',
'The Frog Prince',
'The Handmaiden',
'The Hungerer',
'The Imperor',
'The Last Lore Keeper',
'The Manhunter',
'The Mean Masher',
'The Mutated Pumpkin',
'The Old Whopper',
'The Pale Count',
'The Percht Queen',
'The Plasmother',
'The Voice of Ruin',
'The Welter',
'Tyrn',
'Tzumrah the Dazzler',
'Warlord Ruzad',
'White Pale',
'Willi Wasp',
'World Devourer',
'Xenia',
'Yaga the Crone',
'Yakchal',
'Zarabustor',
'Zevelon Duskbringer',
'Zomba',
'Zulazza the Corruptor',
'Zushuka',
])],
['archfoe-boss', new Set([
'Abyssador',
'Ahau',
'Amenef the Burning',
'Ancient Spawn of Morgathla',
'Anomaly',
'Arbaziloth',
'Ayana the Crimson Curse',
'Bibby Bloodbath',
'Black Vixen',
'Bloodback',
'Brain Head',
'Brokul',
'Chagorz',
'Count Vlarkorth',
'Darkfang',
'Deathstrike',
'Dragon Pack',
'Drume',
'Duke Krule',
'Earl Osam',
'Ekatrix',
'Eradicator',
'Essence of Malice',
'Faceless Bane',
'Gelidrazah the Frozen',
'Ghulosh',
'Gnomevil',
'Gorzindel',
'Goshnar\'s Cruelty',
'Goshnar\'s Greed',
'Goshnar\'s Hatred',
'Goshnar\'s Malice',
'Goshnar\'s Spite',
'Grand Master Oberon',
'Ichgahal',
'Irgix the Flimsy',
'Kalyassa',
'Katex Blood Tongue',
'King Zelos',
'Kusuma',
'Lady Tenebris',
'Lloyd',
'Lokathmor',
'Lord Azaram',
'Lord of the Elements',
'Lord Retro',
'Magma Bubble',
'Mawhawk',
'Mazoran',
'Mazzinor',
'Megasylvan Yselda',
'Melting Frozen Horror',
'Mitmah Vanguard',
'Murcion',
'Neferi the Spy',
'Outburst',
'Owin',
'Plagirath',
'Ragiaz',
'Raging Mage',
'Ratmiral Blackwhiskers',
'Ravenous Hunger',
'Razzagorn',
'Realityquake',
'Rupture',
'Scarlett Etzel',
'Shadowpelt',
'Sharpclaw',
'Shulgrax',
'Sir Baeloc',
'Sir Nictros',
'Sister Hetai',
'Soul of Dragonking Zyrtarch',
'Srezz Yellow Eyes',
'Tamru the Black',
'Tarbaz',
'Tazhadur',
'Tentugly',
'Thaian',
'The Blazing Rose',
'The Brainstealer',
'The Diamond Blossom',
'The Dread Maiden',
'The Enraged Thorn Knight',
'The False God',
'The Fear Feaster',
'The Flaming Orchid',
'The Lily of Night',
'The Mega Magmaoid',
'The Monster',
'The Moonlight Aster',
'The Nightmare Beast',
'The Pale Worm',
'The Rootkraken',
'The Sandking',
'The Scourge of Oblivion',
'The Souldespoiler',
'The Source of Corruption',
'The Time Guardian',
'The Unarmored Voidborn',
'The Unwelcome',
'The Winter Bloom',
'Timira the Many-Headed',
'Unaz the Mean',
'Urmahlullu the Weakened',
'Utua Stone Sting',
'Vemiath',
'Vok the Freakish',
'Yirkas Blue Scales',
'Zamulosh',
'Zorvorax',
])],
['bane-boss', new Set([
'Annihilon',
'Arthei',
'Ashmunrah',
'Atab',
'Black Knight',
'Boogey',
'Boreth',
'Bragrumol',
'Bullwark',
'Chopper',
'Custodian',
'Dazed Leaf Golem',
'Death Priest Shargon',
'Deep Terror',
'Dipthrah',
'Dirtbeard',
'Diseased Bill',
'Diseased Dan',
'Diseased Fred',
'Doctor Perhaps',
'Enusat the Onyx Wing',
'Evil Mastermind',
'Fleshslicer',
'Gaffir',
'Glitterscale',
'Glooth Fairy',
'Golgordan',
'Gorga',
'Gralvalon',
'Grand Canon Dominus',
'Grand Chaplain Gaunder',
'Grand Commander Soeren',
'Guard Captain Quaid',
'Hellgorak',
'Heoni',
'Jailer',
'Jaul',
'Kroazur',
'Latrivan',
'Lersatio',
'Lisa',
'Mad Mage',
'Madareth',
'Mahrdis',
'Malvaroth',
'Marziel',
'Maw',
'Mephiles',
'Mindmasher',
'Monstor',
'Morguthis',
'Mozradek',
'Obujos',
'Omruc',
'Preceptor Lazare',
'Professor Maxxen',
'Rahemos',
'Rotspit',
'Shadowstalker',
'Sugar Daddy',
'Sugar Mommy',
'Tanjis',
'Thalas',
'Thawing Dragon Lord',
'The Baron From Below',
'The Count of the Core',
'The Duke of the Depths',
'The Lord of the Lice',
'The Ravager',
'The Shatterer',
'Twisterror',
'Ushuriel',
'Vashresamun',
'Xogixath',
'Zugurosh',
])],
/* Custom Nemesis subcategories. */
// The subset of Nemesis bosses that spawn randomly and thus require
// boss checks, or that are exceptionally rare (e.g. Ferumbras, Devovorga).
// Bosses that have a 2-week cooldown, Dream Courts mini-bosses, and most
// bosses that can be predictably found during an announced raid are
// excluded from this list.
['hard-nemesis-boss', new Set([
'Arachir the Ancient One',
'Arthom the Hunter',
'Barbaria',
'Battlemaster Zunzu',
'Big Boss Trolliver',
'Burster',
'Captain Jones',
'Countess Sorrow',
'Devovorga',
'Dharalion',
'Diblis the Fair',
'Dracola',
'Dreadful Disruptor',
'Dreadmaw',
'Elvira Hammerthrust',
'Ferumbras',
'Flamecaller Zazrak',
'Fleabringer',
'Foreman Kneebiter',
'Furyosa',
'General Murius',
'Ghazbaran',
'Grandfather Tridian',
'Gravelord Oshuran',
'Groam',
'Grorlam',
'Hairman the Huge',
'Hatebreeder',
'High Templar Cobrass',
'Hirintror',
'Horestis',
'Jesse the Wicked',
'Mahatheb',
'Man in the Cave',
'Massacre',
'Morgaroth',
'Mornenion',
'Morshabaal',
'Mr. Punish',
'Ocyakao',
'Omrafir',
'Oodok Witchmaster',
'Orshabaal',
'Robby the Reckless',
'Rotworm Queen',
'Rukor Zad',
'Shlorg',
'Sir Valorcrest',
'Smuggler Baron Silvertoe',
'The Abomination',
'The Big Bad One',
'The Evil Eye',
'The Frog Prince',
'The Handmaiden',
'The Hungerer',
'The Imperor',
'The Manhunter',
'The Mean Masher',
'The Old Whopper',
'The Pale Count',
'The Plasmother',
'The Voice of Ruin',
'The Welter',
'Tyrn',
'Tzumrah the Dazzler',
'Warlord Ruzad',
'White Pale',
'Xenia',
'Yaga the Crone',
'Yakchal',
'Zarabustor',
'Zevelon Duskbringer',
'Zushuka',
])],
['poi-boss', new Set([
'Countess Sorrow',
'Dracola',
'Massacre',
'Mr. Punish',
'The Handmaiden',
'The Imperor',
'The Plasmother',
])],
['hive-underground-boss', new Set([
'Chopper',
'Fleshslicer',
'Maw',
'Mindmasher',
'Rotspit',
'Shadowstalker',
])],
['hive-outpost-boss', new Set([
'The Hungerer',
'The Manhunter',
'The Mean Masher',
])],
['hod-nemesis-boss', new Set([
'Burster',
'Dreadful Disruptor',
])],
['bank-robbery-boss', new Set([
'Elvira Hammerthrust',
'Jesse the Wicked',
'Mornenion',
'Robby the Reckless',
])],
['vampire-lord-nemesis-boss', new Set([
// Note: Armenius is not a boss.
'Arachir the Ancient One',
'Diblis the Fair',
'Sir Valorcrest',
'The Pale Count',
'Zevelon Duskbringer',
])],
['dream-courts-nemesis-boss', new Set([
'Alptramun',
'Izcandar Champion of Summer',
'Izcandar Champion of Winter',
'Izcandar the Banished',
'Malofur Mangrinder',
'Maxxenius',
'Plagueroot',
])],
['candia-boss', new Set([
'Sugar Daddy',
'Sugar Mommy',
])],
['oramond-voted-boss', new Set([
'Bullwark',
'Glooth Fairy',
'Lisa',
])],
['dark-trails-boss', new Set([
'Death Priest Shargon',
'The Ravager',
])],
['diseased-boss', new Set([
'Diseased Bill',
'Diseased Dan',
'Diseased Fred',
])],
['ferumbras-ascension-boss', new Set([
'Mazoran',
'The Lord of the Lice',
'Plagirath',
'Ragiaz',
'Razzagorn',
'Shulgrax',
'Tarbaz',
'The Shatterer',
'Zamulosh',
// Final boss.
'Ferumbras Mortal Shell',
])],
['inquisition-boss', new Set([
'Annihilon',
'Golgordan',
'Hellgorak',
'Latrivan',
'Madareth',
'Ushuriel',
'Zugurosh',
])],
['heart-of-destruction-boss', new Set([
'Anomaly',
'Eradicator',
'Outburst',
'Realityquake',
'Rupture',
// Final boss.
'World Devourer',
])],
['kilmaresh-boss', new Set([
'Amenef the Burning',
'Bragrumol',
'Enusat the Onyx Wing',
'Mozradek',
'Neferi the Spy',
'Sister Hetai',
'Urmahlullu the Weakened',
'Xogixath',
])],
['soul-war-boss', new Set([
'Goshnar\'s Cruelty',
'Goshnar\'s Greed',
'Goshnar\'s Hatred',
'Goshnar\'s Malice',
'Goshnar\'s Spite',
// Final boss.
'Goshnar\'s Megalomania',
])],
['forgotten-knowledge-boss', new Set([
'Lady Tenebris',
'Lloyd',
'Melting Frozen Horror',
'Soul of Dragonking Zyrtarch',
'The Enraged Thorn Knight',
'The Time Guardian',
// Final boss.
'The Last Lore Keeper',
])],
['rookgaard-boss', new Set([
'Apprentice Sheng',
'Kraknaknork',
'Munster',
'Rottie the Rotworm',
'Teleskor',
])],
['rotten-blood-boss', new Set([
'Chagorz',
'Ichgahal',
'Murcion',
'Vemiath',
// Final boss.
'Bakragore',
])],
/* Other custom categories. */
['blood-brothers-boss', new Set([
'Arthei',
'Boreth',
'Lersatio',
'Marziel',
])],
['pharaoh-boss', new Set([
// Bosses from The Ancient Tombs Quest.
'Ashmunrah',
'Dipthrah',
'Mahrdis',
'Morguthis',
'Omruc',
'Rahemos',
'Thalas',
'Vashresamun',
// Other pharaoh bosses.
'Horestis',
'The Ravager',
])],
['secret-library-boss', new Set([
// Falcon Bastion bosses encountered during the quest.
'Grand Canon Dominus',
'Grand Chaplain Gaunder',
'Grand Commander Soeren',
'Grand Master Oberon',
'Preceptor Lazare',
// True Asura bosses encountered during the quest.
'The Blazing Rose',
'The Diamond Blossom',
'The Lily of Night',
// Deathling boss encountered during the quest.
'Brokul',
// Secret Library mini-bosses.
'Ghulosh',
'Gorzindel',
'Lokathmor',
'Mazzinor',
// Secret Library final boss.
'The Scourge of Oblivion',
])],
['grave-danger-boss', new Set([
// Cobra Bastion bosses encountered during the quest.
'Custodian',
'Gaffir',
'Guard Captain Quaid',
'Scarlett Etzel',
// “Graves” mini-bosses.
'Count Vlarkorth',
'Duke Krule',
'Earl Osam',
'Lord Azaram',
'Sir Baeloc',
'Sir Nictros',
// Final boss.
'King Zelos',
])],
['cults-of-tibia-boss', new Set([
'Essence of Malice', // Carlin.
'Ravenous Hunger', // Ab'dendriel.
'The False God', // Mintwallin.
'The Sandking', // Darashia.
'The Souldespoiler', // Outlaw Camp.
'The Unarmored Voidborn', // Edron.
// Final boss.
'The Source of Corruption',
])],
['feaster-of-souls-boss', new Set([
// Individual Port Hope flimsy mini-bosses.
'Unaz the Mean',
'Irgix the Flimsy',
'Vok the Freakish',
// Venore flimsy boss.
'Brain Head',
// Edron flimsy boss.
'Thaian',
// Vengoth mini-bosses.
'The Dread Maiden',
'The Fear Feaster',
'The Unwelcome',
// Final boss.
'The Pale Worm',
])],
['asura-boss', new Set([
// Within the Tides quest bosses.
'The Flaming Orchid',
'The Moonlight Aster',
'The Winter Bloom',
'Kusuma',
// True asura bosses from the Secret Library quest.
'The Blazing Rose',
'The Diamond Blossom',
'The Lily of Night',
])],
// Bosses encountered during Full Moon.
['full-moon-boss', new Set([
// Grimvale.
'Owin',
// Oskayaat.
'Ayana the Crimson Curse',
'Tamru the Black',
// “Final” boss.
'Feroxa',
])],
['iksupan-boss', new Set([
'Ahau',
'Atab',
'Mitmah Vanguard',
])],
['nimmersatts-breeding-ground-boss', new Set([
// Individual mini-bosses during the fight.
'Bruton',
'Crultor',
'Despor',
'Greedok',
'Maliz',
'Vengar',
'Vilear',
// “Final” boss, tracking completion of the boss room.
'Dragon Pack',
])],
['azzilon-boss', new Set([
// Bane bosses.
'Gralvalon',
'Malvaroth',
'Twisterror',
// Archfoe boss.
'Arbaziloth',
])],
]);
// All bosses.
BOSSES_PER_CATEGORY.set('boss', new Set([
...BOSSES_PER_CATEGORY.get('nemesis-boss'),
...BOSSES_PER_CATEGORY.get('archfoe-boss'),
...BOSSES_PER_CATEGORY.get('bane-boss'),
]));
const killsPerCategory = createKillsPerCategoryMap(BOSSES_PER_CATEGORY);
for (const [slug, killsPerBoss] of killsPerCategory) {
await writeMap(killsPerBoss, `bosses/${slug}`);
}