🐞 fix(镇念塔): 派遣任务添加参数:刷新次数

This commit is contained in:
luying
2022-11-24 19:01:01 +08:00
parent 9ae13cbc2b
commit 6a871b956a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ export async function getTasks(roleId: string) {
let refRemainTime = getRemainTime(curTime);
let nextCostGold = getTowerTaskCostGold(role.towerTaskReCnt, role.towerTaskRefTime);
return {curTasks: treatTask(curTasks, curTime), refRemainTime, nextCostGold}
return { curTasks: treatTask(curTasks, curTime), refRemainTime, nextCostGold, towerTaskReCnt }
}
function treatPreTasks(tasks: TowerTaskRecType[]) {