fix: replace Aha (1511) avatar image from gachabase and add metadata

This commit is contained in:
CAtlas0784 committed 2026-10-17 00:32:04 +07:00
1 parent a5d91f3bc8
commit 84f0f7854b
3 files changed
+25 -3

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 34 KiB

+21
View File
@@ -1807,6 +1807,27 @@ export const AVATAR_METADATA = {
"rarity": 5,
"hasExRank": false
},
"1511": {
"names": {
"th": "Aeon ★ Aha",
"en": "Aeon ★ Aha",
"zh-CN": "星神★阿哈",
"zh-TW": "星神★阿哈",
"ja": "星神★アッハ",
"ko": "에이언즈★아하",
"ru": "Эон ★ Аха",
"vi": "Aeon ★ Aha",
"id": "Aeon ★ Aha",
"es": "Eón ★ Aha",
"fr": "Éon ★ Aha",
"de": "Äon ★ Aha",
"pt": "Aeon ★ Aha"
},
"path": "Elation",
"element": "Quantum",
"rarity": 5,
"hasExRank": false
},
"1512": {
"names": {
"th": "Robin - คีตะคิมหันต์",
+4 -3
View File
@@ -61,9 +61,10 @@ async function processId(id) {
fs.copyFileSync(path.join(targetDir, '1006.png'), dest);
return { id, status: 'fallback 1006 (Silver Wolf)' };
}
if (id === 1511 && fs.existsSync(path.join(targetDir, '1308.png'))) {
fs.copyFileSync(path.join(targetDir, '1308.png'), dest);
return { id, status: 'fallback 1308 (Acheron)' };
if (id === 1511) {
const ahaUrl = 'https://cdn.gachabase.net/hsr/assets/2115ff73d049abc984df3ea560d469ac.png';
ok = await fetchUrl(ahaUrl, dest);
if (ok) return { id, status: 'ok (gachabase)' };
}
if ([8004, 8006, 8008, 8010].includes(id) && fs.existsSync(path.join(targetDir, '8002.png'))) {
fs.copyFileSync(path.join(targetDir, '8002.png'), dest);