活动:修复七天乐任务
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user