fix 奇遇挑战没有成功的直接算失败
This commit is contained in:
@@ -313,7 +313,7 @@ export function checkEventStatus(type: number, status: number) {
|
||||
} else if (status == EVENT_RECORD_STATUS.BATTLE_FAIL) {
|
||||
flag = true;
|
||||
} else {
|
||||
flag = false;
|
||||
flag = true;
|
||||
}
|
||||
} else {
|
||||
if(status == EVENT_RECORD_STATUS.WAITING) {
|
||||
@@ -337,7 +337,7 @@ export function getEventSuccessStatus(type: number, status: number, question: Ar
|
||||
if(type == EVENT_TYPE.BATTLE) {
|
||||
if(status == EVENT_RECORD_STATUS.BATTLE_SUCCESS) {
|
||||
isSuccess = true;
|
||||
} else if (status == EVENT_RECORD_STATUS.BATTLE_FAIL) {
|
||||
} else {
|
||||
isSuccess = false;
|
||||
}
|
||||
} else if(type == EVENT_TYPE.BOX) {
|
||||
|
||||
Reference in New Issue
Block a user