UPDATE: New data
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m6s

This commit is contained in:
2026-05-03 20:38:01 +07:00
parent 3f8f0a99f2
commit dc15340cdf
3 changed files with 4 additions and 2 deletions

View File

@@ -104,6 +104,7 @@ export function converterToFreeSRJson(
techniques: avatar.techniques,
sp_value: Number(avatar.sp_value || 0),
sp_max: Number(avatar.sp_max || 0),
enhanced_id: avatar.enhanced ? Number(avatar.enhanced || 0) : undefined,
}
const currentProfile = avatar.profileList[avatar.profileSelect]
if (currentProfile.lightcone && currentProfile.lightcone.item_id !== 0) {

View File

@@ -37,6 +37,7 @@ export interface AvatarJson {
techniques: number[];
sp_value: number;
sp_max: number;
enhanced_id?: number;
}
export interface MonsterJson {
monster_id: number;
@@ -49,7 +50,6 @@ export interface DynamicKeyJson {
value: number;
}
//BattleBuff
export interface BattleBuffJson {
level: number;
id: number;

View File

@@ -40,7 +40,8 @@ export const avatarJsonSchema = z.object({
promotion: z.number(),
techniques: z.array(z.number()),
sp_value: z.number(),
sp_max: z.number()
sp_max: z.number(),
enhanced_id: z.number().optional()
});
export const monsterJsonSchema = z.object({