fix : too high fade
CI / Verify (push) Successful in 1m21s
CI / Build immutable images and deploy (push) Successful in 2m2s

This commit is contained in:
2026-09-06 03:06:03 +07:00 Unverified
parent d3e5e6c04f
commit 2808a27406
2 changed files with 232 additions and 25 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
export const overviewRoles = ["Main DPS", "Sub DPS", "Support"] as const;
export const overviewRoles = ["Main DPS", "Sub DPS", "Support", "Custom"] as const;
export type OverviewRole = (typeof overviewRoles)[number];
@@ -215,7 +215,7 @@ export function weaponTypeIconPath(weaponType: string | null): string | null {
return fileName ? `/icon/weapon-types/${fileName}` : null;
}
export function overviewFileName(characterKey: string, role: OverviewRole): string {
export function overviewFileName(characterKey: string, role: string): string {
const safeKey = characterKey.replace(/[^\p{L}\p{N}._-]+/gu, "-");
const safeRole = role.toLowerCase().replaceAll(" ", "-");
return `overview-${safeKey}-${safeRole}.png`;