100 lines
6.4 KiB
JavaScript
100 lines
6.4 KiB
JavaScript
// Metadata dictionary for Star Rail Avatars / Characters
|
|
export const AVATAR_METADATA = {
|
|
// Trailblazers
|
|
8001: { name: "Trailblazer (Physical)", path: "Destruction", element: "Physical", rarity: 5 },
|
|
8002: { name: "Trailblazer (Physical ♀)", path: "Destruction", element: "Physical", rarity: 5 },
|
|
8003: { name: "Trailblazer (Fire)", path: "Preservation", element: "Fire", rarity: 5 },
|
|
8004: { name: "Trailblazer (Fire ♀)", path: "Preservation", element: "Fire", rarity: 5 },
|
|
8005: { name: "Trailblazer (Harmony)", path: "Harmony", element: "Imaginary", rarity: 5 },
|
|
8006: { name: "Trailblazer (Harmony ♀)", path: "Harmony", element: "Imaginary", rarity: 5 },
|
|
8007: { name: "Trailblazer (Remembrance)", path: "Remembrance", element: "Ice", rarity: 5 },
|
|
8008: { name: "Trailblazer (Remembrance ♀)", path: "Remembrance", element: "Ice", rarity: 5 },
|
|
|
|
// Astral Express & Herta Station
|
|
1001: { name: "March 7th", path: "Preservation", element: "Ice", rarity: 4 },
|
|
1224: { name: "March 7th (Hunt)", path: "Hunt", element: "Imaginary", rarity: 4 },
|
|
1002: { name: "Dan Heng", path: "Hunt", element: "Wind", rarity: 4 },
|
|
1003: { name: "Himeko", path: "Erudition", element: "Fire", rarity: 5 },
|
|
1004: { name: "Welt", path: "Nihility", element: "Imaginary", rarity: 5 },
|
|
1008: { name: "Arlan", path: "Destruction", element: "Lightning", rarity: 4 },
|
|
1009: { name: "Asta", path: "Harmony", element: "Fire", rarity: 4 },
|
|
1013: { name: "Herta", path: "Erudition", element: "Ice", rarity: 4 },
|
|
|
|
// Belobog
|
|
1101: { name: "Bronya", path: "Harmony", element: "Wind", rarity: 5 },
|
|
1102: { name: "Seele", path: "Hunt", element: "Quantum", rarity: 5 },
|
|
1103: { name: "Serval", path: "Erudition", element: "Lightning", rarity: 4 },
|
|
1104: { name: "Gepard", path: "Preservation", element: "Ice", rarity: 5 },
|
|
1105: { name: "Natasha", path: "Abundance", element: "Physical", rarity: 4 },
|
|
1106: { name: "Pela", path: "Nihility", element: "Ice", rarity: 4 },
|
|
1107: { name: "Clara", path: "Destruction", element: "Physical", rarity: 5 },
|
|
1108: { name: "Sampo", path: "Nihility", element: "Wind", rarity: 4 },
|
|
1109: { name: "Hook", path: "Destruction", element: "Fire", rarity: 4 },
|
|
1110: { name: "Lynx", path: "Abundance", element: "Quantum", rarity: 4 },
|
|
1111: { name: "Luka", path: "Nihility", element: "Physical", rarity: 4 },
|
|
1112: { name: "Topaz & Numby", path: "Hunt", element: "Fire", rarity: 5 },
|
|
|
|
// Xianzhou Luofu
|
|
1201: { name: "Qingque", path: "Erudition", element: "Quantum", rarity: 4 },
|
|
1202: { name: "Tingyun", path: "Harmony", element: "Lightning", rarity: 4 },
|
|
1203: { name: "Luocha", path: "Abundance", element: "Imaginary", rarity: 5 },
|
|
1204: { name: "Jing Yuan", path: "Erudition", element: "Lightning", rarity: 5, hasExRank: true },
|
|
1205: { name: "Blade", path: "Destruction", element: "Wind", rarity: 5 },
|
|
1206: { name: "Sushang", path: "Hunt", element: "Physical", rarity: 4 },
|
|
1207: { name: "Yukong", path: "Harmony", element: "Imaginary", rarity: 4 },
|
|
1208: { name: "Fu Xuan", path: "Preservation", element: "Quantum", rarity: 5 },
|
|
1209: { name: "Yanqing", path: "Hunt", element: "Ice", rarity: 5 },
|
|
1210: { name: "Guinaifen", path: "Nihility", element: "Fire", rarity: 4 },
|
|
1211: { name: "Bailu", path: "Abundance", element: "Lightning", rarity: 5 },
|
|
1212: { name: "Jingliu", path: "Destruction", element: "Ice", rarity: 5 },
|
|
1213: { name: "Dan Heng • Imbibitor Lunae", path: "Destruction", element: "Imaginary", rarity: 5, hasExRank: true },
|
|
1214: { name: "Xueyi", path: "Destruction", element: "Quantum", rarity: 4 },
|
|
1215: { name: "Hanya", path: "Harmony", element: "Physical", rarity: 4 },
|
|
1217: { name: "Huohuo", path: "Abundance", element: "Wind", rarity: 5 },
|
|
1218: { name: "Jiaoqiu", path: "Nihility", element: "Fire", rarity: 5 },
|
|
1220: { name: "Feixiao", path: "Hunt", element: "Wind", rarity: 5 },
|
|
1221: { name: "Yunli", path: "Destruction", element: "Physical", rarity: 5 },
|
|
1222: { name: "Lingsha", path: "Abundance", element: "Fire", rarity: 5 },
|
|
1223: { name: "Moze", path: "Hunt", element: "Lightning", rarity: 4 },
|
|
1225: { name: "Fugue", path: "Nihility", element: "Fire", rarity: 5 },
|
|
|
|
// Penacony & Stellar Hunters
|
|
1005: { name: "Kafka", path: "Nihility", element: "Lightning", rarity: 5 },
|
|
1006: { name: "Silver Wolf", path: "Nihility", element: "Quantum", rarity: 5 },
|
|
1301: { name: "Gallagher", path: "Abundance", element: "Fire", rarity: 4 },
|
|
1302: { name: "Argenti", path: "Erudition", element: "Physical", rarity: 5 },
|
|
1303: { name: "Ruan Mei", path: "Harmony", element: "Ice", rarity: 5 },
|
|
1304: { name: "Aventurine", path: "Preservation", element: "Imaginary", rarity: 5 },
|
|
1305: { name: "Dr. Ratio", path: "Hunt", element: "Imaginary", rarity: 5 },
|
|
1306: { name: "Sparkle", path: "Harmony", element: "Quantum", rarity: 5 },
|
|
1307: { name: "Black Swan", path: "Nihility", element: "Wind", rarity: 5 },
|
|
1308: { name: "Acheron", path: "Nihility", element: "Lightning", rarity: 5, hasExRank: true },
|
|
1309: { name: "Robin", path: "Harmony", element: "Physical", rarity: 5 },
|
|
1310: { name: "Firefly", path: "Destruction", element: "Fire", rarity: 5 },
|
|
1312: { name: "Misha", path: "Destruction", element: "Ice", rarity: 4 },
|
|
1313: { name: "Sunday", path: "Harmony", element: "Imaginary", rarity: 5 },
|
|
1314: { name: "Jade", path: "Erudition", element: "Quantum", rarity: 5 },
|
|
1315: { name: "Boothill", path: "Hunt", element: "Physical", rarity: 5 },
|
|
1317: { name: "Rappa", path: "Erudition", element: "Imaginary", rarity: 5 },
|
|
|
|
// Amphoreus / 3.x+
|
|
1401: { name: "Aglaea", path: "Remembrance", element: "Lightning", rarity: 5 },
|
|
1402: { name: "The Herta", path: "Erudition", element: "Ice", rarity: 5 },
|
|
1403: { name: "Tribbie", path: "Harmony", element: "Quantum", rarity: 5 },
|
|
1404: { name: "Mydei", path: "Destruction", element: "Imaginary", rarity: 5 },
|
|
1405: { name: "Anaxa", path: "Erudition", element: "Wind", rarity: 5 },
|
|
1407: { name: "Castorice", path: "Remembrance", element: "Quantum", rarity: 5 },
|
|
1408: { name: "Cipher", path: "Nihility", element: "Imaginary", rarity: 5 },
|
|
1409: { name: "Phainon", path: "Destruction", element: "Physical", rarity: 5 },
|
|
1410: { name: "Hyacine", path: "Remembrance", element: "Wind", rarity: 5 }
|
|
};
|
|
|
|
export function getAvatarInfo(avatarId) {
|
|
return AVATAR_METADATA[avatarId] || {
|
|
name: `Avatar ${avatarId}`,
|
|
path: "Unknown",
|
|
element: "Unknown",
|
|
rarity: 4
|
|
};
|
|
}
|