diff --git a/game-server/app/servers/battle/handler/normalBattleHandler.ts b/game-server/app/servers/battle/handler/normalBattleHandler.ts index 71e8afc33..61fd06e5a 100644 --- a/game-server/app/servers/battle/handler/normalBattleHandler.ts +++ b/game-server/app/servers/battle/handler/normalBattleHandler.ts @@ -331,6 +331,9 @@ export class NormalBattleHandler { return resResult(STATUS.BATTLE_SWEEP_CONDITION_STAR); } let role = await RoleModel.findByRoleId(roleId, 'lv warCount refWarCount roleId'); + if(role.lv < warInfo.lvLimited) { + return resResult(STATUS.COM_BATTLE_LV_NOT_ENOUGH); + } // 扫荡次数 let dailyNum = {}; let dungeonNum = {};