updating buff and debuff icons. separated COA classes from WoW classes on the character creation screen

This commit is contained in:
phenom committed 2026-08-16 11:16:51 -04:00
1 parent b5c9bce1aa
commit c00f3211ea
39 files changed
+2037 -208

No files matched your search

+6 -2
View File
@@ -1,4 +1,4 @@
export type ContentCategoryId = "wow" | "rom";
export type ContentCategoryId = "wow" | "rom" | "coa";
export interface ContentCategoryDefinition {
readonly id: ContentCategoryId;
@@ -6,9 +6,13 @@ export interface ContentCategoryDefinition {
readonly name: string;
}
/** Shared by character creation and dungeon selection. */
/** Character-creation categories; other catalogs may expose a supported subset. */
export const CONTENT_CATEGORIES: readonly ContentCategoryDefinition[] = Object.freeze([
{ id: "wow", label: "WoW", name: "World of Warcraft" },
{ id: "rom", label: "RoM", name: "Runes of Magic" },
{ id: "coa", label: "CoA", name: "Conquest of Azeroth" },
]);
export function contentCategoryById(id: ContentCategoryId | null | undefined): ContentCategoryDefinition {
return CONTENT_CATEGORIES.find((category) => category.id === id) ?? CONTENT_CATEGORIES[0];
}