forked from phenom/healer-man
Update Healer Man server
This commit is contained in:
1 parent
8a98797fcf
commit
11934a3979
44 files changed
+3183
-329
No files matched your search
@@ -20,7 +20,8 @@ export function dungeonBossCards(
|
||||
): readonly DungeonBossCard[] {
|
||||
const seen = new Set<string>();
|
||||
return dungeonBossesForDifficulty(dungeon, difficultyId).flatMap((boss) => {
|
||||
const category = dungeon.expansion === "runewaker" ? "rom" : "wow";
|
||||
const category = /^randomized:(wow|rom):boss:/.exec(boss.id)?.[1]
|
||||
?? (dungeon.expansion === "runewaker" ? "rom" : "wow");
|
||||
const normalizedName = boss.name.trim().toLowerCase().replace(/\s+/g, " ");
|
||||
const fallbackKey = `${category}:${normalizedName}`;
|
||||
const sourceCard = bossCardForSource(boss.id, dungeon.id, boss.name);
|
||||
|
||||
Reference in new issue
Block a user