活动:修复七天乐任务

This commit is contained in:
luying
2022-05-06 16:15:24 +08:00
parent 9486a99a95
commit 58f2c98aec
5 changed files with 9 additions and 27 deletions

View File

@@ -528,9 +528,9 @@ export class CheckSingleTask {
}
}
if(index == -1) {
records[index] = `${hero.hid}_${count + stageUpCnt}`;
} else {
records.push(`${hero.hid}_${count + stageUpCnt}`);
} else {
records[index] = `${hero.hid}_${count + stageUpCnt}`;
}
if( count < dicTaskParam[1] && count + stageUpCnt >= dicTaskParam[1]) {
result = { inc: 1, records }
@@ -725,7 +725,7 @@ export class CheckSingleTask {
case TASK_TYPE.BATTLE_EXPEDITION_BOX: // 50. 领取x次远征 x宝箱
{
let { point } = param;
if(dicTaskParam[0] == 0 || dicTaskParam[0] == point) {
if(dicTaskParam[1] == 0 || dicTaskParam[1] == point) {
result = { inc: 1 };
}
break;