任务:修复任务很多问题

This commit is contained in:
luying
2022-04-29 18:13:02 +08:00
parent c063b2d135
commit b4deba6cb0
4 changed files with 15 additions and 9 deletions

View File

@@ -586,10 +586,7 @@ export class CheckSingleTask {
}
case TASK_TYPE.ROLE_SCROLL_ACTIVE: // 21. 名将谱激活x武将
{
let { scrollActive } = param;
if(scrollActive) {
result = { inc: 1 };
}
result = { inc: 1 };
break;
}
case TASK_TYPE.FRIEND_NUM: // 34. 拥有x名好友
@@ -1159,9 +1156,9 @@ export class CheckSingleTask {
}).length;
if(oldUnlockSeCnt < dicTaskParam[1] && newUnlockSeCnt >= dicTaskParam[1]) {
result = { inc: -1 };
} else if (oldUnlockSeCnt >= dicTaskParam[1] && newUnlockSeCnt < dicTaskParam[1]) {
result = { inc: 1 };
} else if (oldUnlockSeCnt >= dicTaskParam[1] && newUnlockSeCnt < dicTaskParam[1]) {
result = { inc: -1 };
}
break;
}