From 7db913ec1e13b739d44517e841c674464fd6860d Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 20 Aug 2021 16:59:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BB=E5=AE=9D=EF=BC=9Aboss=E5=B7=B2?= =?UTF-8?q?=E6=AD=BB=E6=97=B6=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/battle/handler/comBattleHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/servers/battle/handler/comBattleHandler.ts b/game-server/app/servers/battle/handler/comBattleHandler.ts index 17e87645c..4371ad7f6 100644 --- a/game-server/app/servers/battle/handler/comBattleHandler.ts +++ b/game-server/app/servers/battle/handler/comBattleHandler.ts @@ -473,7 +473,7 @@ export class ComBattleHandler { if (teamStatus.status !== COM_TEAM_STATUS.FIGHTING) return resResult(STATUS.COM_BATTLE_NOT_START); for (let st of teamStatus.roleStatus) { if (st.roleId === roleId && (!st.heroes || st.heroes.length === 0)) { - return resResult(STATUS.COM_BATTLE_HEROES_ERR); + return resResult(STATUS.SUCCESS); } } // 重置总血量,计算真实伤害