更新3.8相关资源 @Ca(HCO₃)₂

This commit is contained in:
Kokomi 2023-07-04 02:31:22 +08:00
parent 6da0ba1776
commit d157f8f729
4 changed files with 20 additions and 7 deletions

View File

@ -74,8 +74,8 @@ class App {
check.push(app.check)
}
cls.prototype[key] = async function () {
let e = this.e
cls.prototype[key] = async function (e) {
e = this.e || e
if (event === 'poke') {
if (e.notice_type === 'group') {
if (e.target_id !== Bot.uin && !e.isPoke) {
@ -111,11 +111,11 @@ class App {
reg: yzRule,
fnc: yzKey
})
cls.prototype[yzKey] = async function () {
cls.prototype[yzKey] = async function (e) {
if (!Version.isMiao && !app.yzCheck()) {
return false
}
let e = this.e
e = this.e || e
e.original_msg = e.original_msg || e.msg
return await app.fn.call(this, e)
}

4
index.ts Normal file
View File

@ -0,0 +1,4 @@
import { setApp } from 'alemon'
import { apps } from './apps/index.js'
setApp('miao-plugin', apps)

View File

@ -4,11 +4,11 @@ export * from './pool.js'
export const chestInfo = {
common: {
title: '普通宝箱',
max: 2702
max: 2704
},
exquisite: {
title: '精致宝箱',
max: 1646
max: 1648
},
precious: {
title: '珍贵宝箱',
@ -16,7 +16,7 @@ export const chestInfo = {
},
luxurious: {
title: '豪华宝箱',
max: 193
max: 194
},
magic: {
title: '奇馈宝箱',

View File

@ -470,5 +470,14 @@ export const poolDetail = [{
char4: ['瑶瑶', '鹿野院平藏', '香菱'],
weapon5: ['裁叶萃光', '苍古自由之誓'],
weapon4: ['断浪长鳍', '曚云之月', '西风剑', '祭礼大剑', '西风秘典']
}, {
version: '3.8',
half: '上半',
from: '2023-07-05 06:00:00',
to: '2023-07-25 17:59:59',
char5: ['优菈', '可莉'],
char4: ['米卡', '雷泽', '托马'],
weapon5: ['松籁响起之时', '四风原典'],
weapon4: ['暗巷闪光', '暗巷猎手', '雨裁', '西风长枪', '昭心']
}
]