From 5fb6d53aa37ce91115d0c1610d510983ddd97ca4 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 20 May 2022 17:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E5=8D=A1=EF=BC=9A=E6=89=AB=E8=8D=A13?= =?UTF-8?q?=E6=98=9F=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/battle/handler/normalBattleHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/battle/handler/normalBattleHandler.ts b/game-server/app/servers/battle/handler/normalBattleHandler.ts index 85e261d8d..a2fe37519 100644 --- a/game-server/app/servers/battle/handler/normalBattleHandler.ts +++ b/game-server/app/servers/battle/handler/normalBattleHandler.ts @@ -306,7 +306,7 @@ export class NormalBattleHandler { // 校验是否三星通关过 let { warStar } = await RoleModel.findByRoleId(roleId); let curWar = warStar.find(cur => cur.id == battleId); - if (!curWar || curWar.star >= 3) { + if (!curWar || curWar.star < 3) { return resResult(STATUS.BATTLE_SWEEP_CONDITION_STAR); }