更新json
This commit is contained in:
@@ -299,7 +299,7 @@ function pushEventMsg(app: Application, roleId: string, channelName: string, msg
|
||||
export function checkEventStatus(type: number, status: number) {
|
||||
|
||||
let flag: boolean; // 检查状态是否正确
|
||||
if(type == EVENT_TYPE.BATTLE) {
|
||||
if(type == EVENT_TYPE.BATTLE||type ==EVENT_TYPE.QUIZ) {
|
||||
if(status == EVENT_RECORD_STATUS.BATTLE_SUCCESS) {
|
||||
flag = true;
|
||||
} else if (status == EVENT_RECORD_STATUS.BATTLE_FAIL) {
|
||||
|
||||
Reference in New Issue
Block a user