活动:今日挑战时间逻辑,累积型的只计算小于等于当天的数
This commit is contained in:
@@ -223,6 +223,8 @@ export class CheckSingleTask {
|
||||
for (let task of dailyChallengeTaskArray) {
|
||||
if(dicTaskTypeDesc.sumType == TASK_SUM_TYPE.DO && task.dayIndex != playerData.today()) {
|
||||
continue;
|
||||
} else if(dicTaskTypeDesc.sumType == TASK_SUM_TYPE.SUM && task.dayIndex < playerData.today()) {
|
||||
continue;
|
||||
}
|
||||
let taskUpdateParam = await this.checkIsMatch(task.taskParamArray, async () => {
|
||||
let data = await ActivityDailyChallengesModel.findDataByCellIndex(serverId, activityId, roleId, task.dayIndex, task.cellIndex);
|
||||
|
||||
Reference in New Issue
Block a user