活动:添加新的任务统计
This commit is contained in:
@@ -66,7 +66,7 @@ export async function getPlayerGrowthFundData(activityId: number, serverId: numb
|
||||
for (let page of playerData.list) {
|
||||
for (let item of page.items) {
|
||||
if (item.taskType == TASK_TYPE.BATTLE_MAIN) {
|
||||
let index = warIDs.findIndex(id => { return id === item.condition })
|
||||
let index = warIDs.findIndex(id => { return id === item.taskParamArray[1] })
|
||||
if (index != -1) {
|
||||
item.isComplete = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user