2022-11-12 21:35:46 +00:00
|
|
|
|
export const cfgSchema = {
|
2023-02-13 20:43:14 +00:00
|
|
|
|
apps: {
|
|
|
|
|
title: 'Yunzai功能(开启使用喵喵版功能)',
|
|
|
|
|
cfg: {
|
|
|
|
|
avatarList: {
|
|
|
|
|
title: '#角色 #UID',
|
|
|
|
|
key: '角色列表',
|
|
|
|
|
def: false
|
|
|
|
|
},
|
|
|
|
|
avatarCard: {
|
|
|
|
|
title: '#刻晴 #老婆',
|
|
|
|
|
key: '角色卡片',
|
|
|
|
|
def: true
|
|
|
|
|
},
|
|
|
|
|
uploadAbyssData: {
|
|
|
|
|
title: '#深渊',
|
|
|
|
|
key: '深渊',
|
|
|
|
|
def: false
|
|
|
|
|
},
|
|
|
|
|
profileStat: {
|
|
|
|
|
title: '#练度统计',
|
|
|
|
|
key: '练度统计',
|
|
|
|
|
def: false
|
|
|
|
|
},
|
|
|
|
|
help: {
|
|
|
|
|
title: '#帮助 #菜单',
|
|
|
|
|
key: '帮助',
|
|
|
|
|
def: false
|
|
|
|
|
},
|
2023-02-28 17:59:13 +00:00
|
|
|
|
gachaStat: {
|
|
|
|
|
title: '#抽卡分析 #抽卡统计',
|
|
|
|
|
key: '抽卡',
|
|
|
|
|
def: false
|
|
|
|
|
},
|
2023-02-13 20:43:14 +00:00
|
|
|
|
avatarPoke: {
|
|
|
|
|
title: '戳一戳展示角色卡片',
|
|
|
|
|
key: '戳一戳',
|
|
|
|
|
def: true
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2023-02-06 18:08:12 +00:00
|
|
|
|
profile: {
|
|
|
|
|
title: '角色面板相关设置',
|
2022-11-12 21:35:46 +00:00
|
|
|
|
cfg: {
|
|
|
|
|
avatarProfile: {
|
|
|
|
|
title: '面板查询',
|
2023-02-06 18:08:12 +00:00
|
|
|
|
key: '面板查询',
|
|
|
|
|
def: true
|
|
|
|
|
},
|
|
|
|
|
profileChange: {
|
|
|
|
|
title: '面板替换',
|
|
|
|
|
key: '面板替换',
|
|
|
|
|
def: true
|
|
|
|
|
},
|
2022-11-12 21:35:46 +00:00
|
|
|
|
groupRank: {
|
|
|
|
|
title: '群面板排名',
|
|
|
|
|
key: '排名',
|
|
|
|
|
def: false,
|
|
|
|
|
desc: '群内的面板伤害及圣遗物排名与查看功能,默认关闭。请根据群友心理素质自行决定是否开启'
|
|
|
|
|
},
|
2022-11-13 19:42:24 +00:00
|
|
|
|
groupRankLimit: {
|
|
|
|
|
title: '排名限制',
|
|
|
|
|
key: '限制',
|
|
|
|
|
def: 1,
|
|
|
|
|
type: 'num',
|
2022-11-13 20:43:59 +00:00
|
|
|
|
desc: '参与排名的限制条件:1:无限制 2:有CK 3:有16个角色或有CK 4:有御三家(安柏&凯亚&丽莎)或有CK 5:有16个角色+御三家或有CK。 若改变设置请根据情况决定是否需要【#重置排名】'
|
2022-11-13 19:42:24 +00:00
|
|
|
|
},
|
2023-02-04 21:11:18 +00:00
|
|
|
|
rankNumber: {
|
2023-02-06 13:25:50 +00:00
|
|
|
|
title: '排行人数',
|
|
|
|
|
key: '排行人数',
|
2023-02-04 21:11:18 +00:00
|
|
|
|
type: 'num',
|
|
|
|
|
def: 15,
|
|
|
|
|
input: (n) => Math.min(30, Math.max(5, (n * 1 || 15))),
|
2023-02-05 18:09:30 +00:00
|
|
|
|
desc: '可选值5~30,建议15。设置高排名人数会提高图片的长度,图片较大可能会影响渲染与发送速度'
|
|
|
|
|
},
|
2023-02-23 19:23:57 +00:00
|
|
|
|
profileServer: {
|
2023-02-06 18:08:12 +00:00
|
|
|
|
title: '面板服务',
|
|
|
|
|
key: '面板服务',
|
|
|
|
|
type: 'num',
|
2023-02-23 19:23:57 +00:00
|
|
|
|
def: 0,
|
|
|
|
|
input: (n) => /[0-3]{1,3}/.test(n) ? n : 0,
|
|
|
|
|
desc: '面板服务选择:0:自动,1:喵Api(需具备Token), 2:Enka-API, 3:MiniGG-Api。如设置三位数字则为分服务器设置,按顺序分别为 国服/B服/外服,例如112代表国服B服Miao,国外Enka'
|
2023-02-06 18:08:12 +00:00
|
|
|
|
},
|
2023-02-22 17:48:44 +00:00
|
|
|
|
costumeSplash: {
|
|
|
|
|
title: '使用自定义面板插图',
|
|
|
|
|
key: '面板图',
|
|
|
|
|
def: true,
|
|
|
|
|
desc: '开启彩蛋图(三皇冠/ACE/满命)及自定义面板图,关闭使用官方立绘'
|
|
|
|
|
},
|
2023-02-06 18:08:12 +00:00
|
|
|
|
teamCalc: {
|
|
|
|
|
title: '组队加成伤害',
|
|
|
|
|
key: '组队',
|
|
|
|
|
def: false,
|
|
|
|
|
desc: '伤害计算包含组队Buff。目前为测试阶段,数据可能不准确,请慎重开启。数据为固定Buff而非真实面板数据,最终计算数值可能有偏差。开启后请重启喵喵'
|
|
|
|
|
},
|
2023-02-05 18:09:30 +00:00
|
|
|
|
artisNumber: {
|
|
|
|
|
title: '圣遗物列表数量',
|
|
|
|
|
key: '圣遗物数量',
|
|
|
|
|
type: 'num',
|
|
|
|
|
def: 28,
|
|
|
|
|
input: (n) => Math.min(100, Math.max(4, (n * 1 || 28))),
|
|
|
|
|
desc: '可选值4~100,建议28,最终圣遗物数量取决于面板内圣遗物数量。设置高圣遗物数量会提高图片的长度,图片较大可能会影响渲染与发送速度'
|
2023-02-06 18:08:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-11-12 21:35:46 +00:00
|
|
|
|
wiki: {
|
|
|
|
|
title: '角色资料与信息查询',
|
|
|
|
|
cfg: {
|
|
|
|
|
charWiki: {
|
|
|
|
|
title: '角色图鉴-图鉴',
|
|
|
|
|
key: '图鉴',
|
|
|
|
|
def: true,
|
|
|
|
|
showDesc: false,
|
|
|
|
|
desc: '#刻晴图鉴 的图鉴信息'
|
|
|
|
|
},
|
|
|
|
|
charWikiTalent: {
|
|
|
|
|
title: '角色图鉴-天赋',
|
|
|
|
|
key: '天赋',
|
|
|
|
|
def: true,
|
|
|
|
|
showDesc: false,
|
|
|
|
|
desc: '#刻晴天赋/#刻晴命座 的天赋信息'
|
|
|
|
|
},
|
2023-02-06 18:08:12 +00:00
|
|
|
|
notReleasedData: {
|
|
|
|
|
title: '未实装角色数据',
|
|
|
|
|
key: '未实装',
|
|
|
|
|
def: true
|
|
|
|
|
},
|
2022-11-12 21:35:46 +00:00
|
|
|
|
charPic: {
|
|
|
|
|
title: '角色图片',
|
|
|
|
|
key: '图片',
|
2023-02-06 18:08:12 +00:00
|
|
|
|
def: true
|
2022-11-12 21:35:46 +00:00
|
|
|
|
},
|
2023-02-19 21:24:17 +00:00
|
|
|
|
qFace: {
|
|
|
|
|
title: 'Q版角色头像',
|
|
|
|
|
key: '卡通头像',
|
|
|
|
|
def: true
|
|
|
|
|
},
|
2022-11-12 21:35:46 +00:00
|
|
|
|
charPicSe: {
|
|
|
|
|
title: '小清新角色图',
|
|
|
|
|
key: '小清新',
|
|
|
|
|
def: false,
|
|
|
|
|
desc: '启用后会启用角色图及增量包中的小清新图像,勇士啊,你准备好了吗'
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
sys: {
|
|
|
|
|
title: '系统设置',
|
|
|
|
|
cfg: {
|
|
|
|
|
renderScale: {
|
|
|
|
|
title: '渲染精度',
|
|
|
|
|
key: '渲染',
|
|
|
|
|
type: 'num',
|
|
|
|
|
def: 100,
|
|
|
|
|
input: (n) => Math.min(200, Math.max(50, (n * 1 || 100))),
|
|
|
|
|
desc: '可选值50~200,建议100。设置高精度会提高图片的精细度,但因图片较大可能会影响渲染与发送速度'
|
|
|
|
|
},
|
2023-02-17 20:42:05 +00:00
|
|
|
|
originalPic: {
|
|
|
|
|
title: '原图',
|
|
|
|
|
key: '原图',
|
|
|
|
|
type: 'num',
|
|
|
|
|
def: 3,
|
|
|
|
|
input: (n) => Math.min(3, Math.max(n * 1 || 0, 0)),
|
|
|
|
|
desc: '允许获取原图,0:不允许, 1:仅允许角色图, 2:仅允许面板图, 3:开启'
|
|
|
|
|
},
|
2022-11-24 16:31:36 +00:00
|
|
|
|
commaGroup: {
|
|
|
|
|
title: '数字逗号分组',
|
|
|
|
|
key: '逗号',
|
|
|
|
|
def: 3,
|
|
|
|
|
type: 'num',
|
|
|
|
|
desc: '根据语言习惯设置数字分组,如千位组设为3,万位组设为4'
|
2022-11-12 21:35:46 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|