测试:添加战斗测试

This commit is contained in:
luying
2021-11-03 20:04:06 +08:00
parent 88e7ee906d
commit fb59fcd0ca
13 changed files with 364 additions and 22 deletions

View File

@@ -256,6 +256,8 @@ export class ShopHandler {
} else if (type == TASK_FUN_TYPE.ACHIEVEMENT) {
await UserTaskModel.updateInfo(roleId, { achievementBox: [], achievementPoint: 0 });
userTask = await removeHistoryTask(roleId, type, new Date(nowSeconds() * 1000 + 86400000));
} else if (type == TASK_FUN_TYPE.PVP) {
userTask = await removeHistoryTask(roleId, type, new Date(nowSeconds() * 1000 + 86400000));
}
let curTask = await getCurTask(roleId, session);;