任务:镇念塔无法碾压达成

This commit is contained in:
luying
2022-05-07 21:12:46 +08:00
parent f84f41fe00
commit d1115fb5d0
3 changed files with 6 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ import { pushTowerMsg } from '../../../services/sysChatService';
import { WarStar } from '../../../domain/dbGeneral';
import { RewardInter } from '../../../pubUtils/interface';
import { combineItems } from '../../../services/role/util';
import { checkTask } from '../../../services/task/taskService';
import { checkTask, checkTaskInSkipTower } from '../../../services/task/taskService';
import { Rank } from '../../../services/rankService';
export default function(app: Application) {
@@ -347,7 +347,7 @@ export class TowerBattleHandler {
// 更新redis
let r = new Rank(REDIS_KEY.TOWER_RANK, { serverId });
await r.setRankWithRoleInfo(roleId, role.towerLv - 1, role.towerUpTime.getTime(), role);
await checkTaskInSkipTower(serverId, roleId, sid, role.towerLv - 1);
return resResult(STATUS.SUCCESS, { ...data, goods });
}