feat: add png export, neonteam details, relic slot manager, rich traces, e0s1 presets, and server-aware lineup persistence

This commit is contained in:
CAtlas0784 committed 2026-10-17 02:35:55 +07:00
1 parent 025697ea52
commit dd4bbc1877
4 files changed
+1623 -201

No files matched your search

+1034 -135
View File
File diff suppressed because it is too large. Load diff
+6 -1
View File
@@ -2096,7 +2096,12 @@ export function getAvatarInfo(avatarId, langOverride = null) {
};
}
const localizedName = meta.names?.[lang] || meta.names?.th || meta.names?.en || `Avatar ${avatarId}`;
let localizedName = meta.names?.[lang] || meta.names?.th || meta.names?.en || `Avatar ${avatarId}`;
if (localizedName.includes('{NICKNAME}')) {
const tbName = lang === 'th' ? 'ผู้บุกเบิก (Trailblazer)' : 'Trailblazer';
localizedName = localizedName.replace(/\{NICKNAME\}/g, tbName).trim();
if (!localizedName) localizedName = tbName;
}
return {
name: localizedName,