UNPKG

genshin-db

Version:

Genshin Impact v5.5 JSON data. Search and get results in all in-game languages! Sources from the fandom wiki and GenshinData repo.

48 lines (36 loc) 1.31 kB
declare module "genshin-db" { export interface TcgEnemyCards { id: number; name: string; // translated transformsinto?: number[]; // list of card ids that this card can transform into. undefined if none. example: azhdaha into cryo azhdaha istransformation?: boolean; // is this card only accessible through transformation hp: number; maxenergy: number; tags: string[]; // enum tagstext: string[]; // translated skills: TcgSkills[]; images: { filename_tagsicon: string[]; filename_cardface: string; filename_cardface_golden: string; filename_cardface_HD: string; }; version: string; } export interface TcgSkills { id: number; name: string; // translated basedamage?: number; // some skills like Barbara's burst don't do damage directly. baseelement?: string; // some skills like Barbara's burst don't apply elements directly. typetag: 'GCG_SKILL_TAG_A' | 'GCG_SKILL_TAG_E' | 'GCG_SKILL_TAG_Q' | 'GCG_SKILL_TAG_PASSIVE'; // enum type: string; // translated description: string; // translated descriptionraw: string; // translated descriptionreplaced: string; // translated playcost: TcgSkillPlayCost[]; } export interface TcgSkillPlayCost { costtype: string; // enum count: number; } }