feat: left section complete

This commit is contained in:
2026-03-13 12:09:57 +07:00 Unverified
parent b26fdbb9da
commit e79e44324f
8 changed files with 359 additions and 51 deletions
+67
View File
@@ -0,0 +1,67 @@
export type AvatarStore = Record<number, Avatar>;
export interface Avatar {
Element: ElementType;
/** Constellation icons */
Consts: string[];
/** Talent order (normal, skill, burst) */
SkillOrder: number[];
/** Skill ID -> icon path */
Skills: Record<number, string>;
/** Skill ID -> proud skill group */
ProudMap: Record<number, number>;
NameTextMapHash: number;
SideIconName: string;
QualityType: QualityType;
WeaponType: WeaponType;
/** Optional costumes */
Costumes?: Record<number, AvatarCostume>;
/** Base stat values keyed by prop ID */
BaseProps: Record<number, number>;
/** Growth curve IDs keyed by prop ID */
PropGrowCurves: Record<number, number>;
/** Ascension stat bonuses */
PromoteProps: PromoteProps[];
}
export interface AvatarCostume {
SideIcon: string;
Icon: string;
Art: string;
}
/**
* PromoteProps entries are stat maps keyed by property ID
* Example: HP(1), ATK(4), DEF(7), CritRate(20), etc.
*/
export type PromoteProps = Record<number, number>;
export type ElementType =
| "Fire"
| "Water"
| "Wind"
| "Electric"
| "Rock"
| "Ice"
| "Grass";
export type WeaponType =
| "WEAPON_SWORD_ONE_HAND"
| "WEAPON_CLAYMORE"
| "WEAPON_POLE"
| "WEAPON_CATALYST"
| "WEAPON_BOW";
export type QualityType = "QUALITY_ORANGE" | "QUALITY_PURPLE";