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) {
|
} else if (status == EVENT_RECORD_STATUS.BATTLE_FAIL) {
|
||||||
flag = true;
|
flag = true;
|
||||||
} else {
|
} else {
|
||||||
flag = false;
|
flag = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(status == EVENT_RECORD_STATUS.WAITING) {
|
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(type == EVENT_TYPE.BATTLE) {
|
||||||
if(status == EVENT_RECORD_STATUS.BATTLE_SUCCESS) {
|
if(status == EVENT_RECORD_STATUS.BATTLE_SUCCESS) {
|
||||||
isSuccess = true;
|
isSuccess = true;
|
||||||
} else if (status == EVENT_RECORD_STATUS.BATTLE_FAIL) {
|
} else {
|
||||||
isSuccess = false;
|
isSuccess = false;
|
||||||
}
|
}
|
||||||
} else if(type == EVENT_TYPE.BOX) {
|
} else if(type == EVENT_TYPE.BOX) {
|
||||||
|
|||||||
Reference in New Issue
Block a user