From 7489af23a576805e3c4f1e4e2845510f446d2f21 Mon Sep 17 00:00:00 2001 From: luying Date: Sat, 16 Jul 2022 19:01:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E8=8D=A1=E6=AC=A1=E6=95=B0=EF=BC=9A?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=B9=E6=8E=92=E8=A1=8C=E6=A6=9C=E7=9A=84?= =?UTF-8?q?=E5=BD=B1=E5=93=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/servers/battle/handler/normalBattleHandler.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/game-server/app/servers/battle/handler/normalBattleHandler.ts b/game-server/app/servers/battle/handler/normalBattleHandler.ts index 269ab27a2..ec88b3f96 100644 --- a/game-server/app/servers/battle/handler/normalBattleHandler.ts +++ b/game-server/app/servers/battle/handler/normalBattleHandler.ts @@ -195,7 +195,9 @@ export class NormalBattleHandler { return checkResult } } - } else if (warInfo.warType == WAR_TYPE.DAILY) { + } + + if (warInfo.warType == WAR_TYPE.DAILY) { let checkResult = await checkDailyAndIncrease(roleId, warStar, battleId, isSuccess?1:0, false, stars, role); if (checkResult.status == -1) { return checkResult.resResult;