Import Json Interface
Overall
This interface is for an online Artifact tool 莫娜占卜铺[mona-uranai.com]
This interface was designed by a Chinese developer whose English is bad, so some keywords are very awkward, however, it works.
{
"version"?: "1",
"flower"?: Artifact[],
"feather"?: Artifact[],
"sand"?: Artifact[],
"cup"?: Artifact[],
"head"?: Artifact[],
}
Artifact
{
"setName": ArtifactSetName, // 套装名
"detailName": string, // 中文名
"position": ArtifactTypeName, // 位置, slot
"mainTag": ArtTag, // 主词条, main stat
"normalTags": ArtTag[], // 副词条, sub stat
"omit": boolean, // 是否禁用该圣遗物, disabled or not
"level": number, // 等级,整数, integer
"star": number, // 星级,整数, integer
}
ArtifactSetName
ArtifactTypeName
export type ArtifactTypeName =
"flower" | "feather" | "sand" | "cup" | "head";
ArtTag
参考ArtTag
Example
{
"version": "1",
"flower":[
{
"setName":"noblesseOblige",
"position":"flower",
"detailName":"宗室之花",
"mainTag":{
"name":"lifeStatic",
"value":4780
},
"normalTags":[
{
"name":"defendStatic",
"value":86
},
{
"name":"critical",
"value":0.07400000000000001
},
{
"name":"attackPercentage",
"value":0.053
},
{
"name":"attackStatic",
"value":29
}
],
"omit":false,
"id":5
},
]
}
Last updated
Was this helpful?