pvp:首页推送
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user