2022-04-04 21:36:44 +00:00
|
|
|
/*
|
|
|
|
* 胡桃数据库的统计
|
|
|
|
*
|
|
|
|
* */
|
2023-02-13 19:47:22 +00:00
|
|
|
import { App } from '../components/index.js'
|
|
|
|
import { ConsStat, AbyssPct } from './stat/AbyssStat.js'
|
|
|
|
import { AbyssTeam } from './stat/AbyssTeam.js'
|
|
|
|
import { AbyssSummary } from './stat/AbyssSummary.js'
|
2022-07-23 20:32:10 +00:00
|
|
|
|
2022-09-16 20:37:09 +00:00
|
|
|
let app = App.init({
|
|
|
|
id: 'stat',
|
2022-09-16 22:01:31 +00:00
|
|
|
name: '深渊统计'
|
2022-09-16 20:37:09 +00:00
|
|
|
})
|
|
|
|
|
2023-02-13 19:47:22 +00:00
|
|
|
app.reg({
|
|
|
|
consStat: {
|
|
|
|
rule: /^#(喵喵)?角色(持有|持有率|命座|命之座|.命)(分布|统计|持有|持有率)?$/,
|
|
|
|
fn: ConsStat,
|
|
|
|
desc: '【#统计】 #角色持有率 #角色5命统计'
|
|
|
|
},
|
|
|
|
abyssPct: {
|
|
|
|
rule: /^#(喵喵)?深渊(第?.{1,2}层)?(角色)?(出场|使用)(率|统计)*$/,
|
|
|
|
fn: AbyssPct,
|
|
|
|
desc: '【#统计】 #深渊出场率 #深渊12层出场率'
|
|
|
|
},
|
|
|
|
abyssTeam: {
|
|
|
|
rule: /#深渊(组队|配队)/,
|
|
|
|
fn: AbyssTeam,
|
|
|
|
describe: '【#角色】 #深渊组队'
|
|
|
|
},
|
|
|
|
abyssSummary: {
|
|
|
|
rule: /^#*(喵喵|上传|本期)*(深渊|深境|深境螺旋)[ |0-9]*(数据)?$/,
|
|
|
|
fn: AbyssSummary,
|
|
|
|
desc: '上传深渊'
|
|
|
|
}
|
2022-09-16 20:37:09 +00:00
|
|
|
})
|
|
|
|
export default app
|