pvp:首页推送

This commit is contained in:
luying
2021-11-02 20:02:44 +08:00
parent cb3583276c
commit 8afe9150f2
5 changed files with 18 additions and 8 deletions

View File

@@ -110,8 +110,6 @@ export async function checkTaskWithHero(roleId: string, taskType: number, hero:
let oldGrade = gameData.job.get(args[0]).grade;
let count = (curGrade - initGrage) * (ABI_STAGE.END - ABI_STAGE.START) + (hero.jobStage - ABI_STAGE.START); // 训练次数
let oldCount = (oldGrade - initGrage) * (ABI_STAGE.END - ABI_STAGE.START) + (args[1] - ABI_STAGE.START);
console.log('******', oldCount);
pushMessage = await checkTask(roleId, taskType, 1, true, { count, oldCount });
}
else if (taskType == TASK_TYPE.HERO_QUALITY_UP) {