From 4f4f9075c763ce33e8d075025a304a98432000b4 Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 20 May 2022 17:31:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E8=8D=A1=EF=BC=9A=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=89=AB=E8=8D=A1=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 f0e781a3c..85e261d8d 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); }