UPDATE: New data
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m6s
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 1m6s
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user