From 3119747084346f1265398fec7002433a45f98cff Mon Sep 17 00:00:00 2001 From: luying Date: Thu, 27 Jul 2023 10:39:12 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(=E9=98=B2=E7=A0=B4=E8=A7=A3)?= =?UTF-8?q?:=20=E6=B7=BB=E5=8A=A0=E5=BF=BD=E7=95=A5=E7=9A=84type=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= 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 8af25b82f..29c6528e0 100644 --- a/game-server/app/servers/battle/handler/normalBattleHandler.ts +++ b/game-server/app/servers/battle/handler/normalBattleHandler.ts @@ -562,7 +562,7 @@ export class NormalBattleHandler { if (roleId == undefined || type == undefined || sid == undefined) { return; } - if (type && (type === CHECT_BATTLE_TYPE || type === CHECT_BATTLE_TYPE_HIDE || type === CHECT_BATTLE_TYPE_ATK_LIMIT)) { + if (type && (type === CHECT_BATTLE_TYPE || type === CHECT_BATTLE_TYPE_HIDE || type === CHECT_BATTLE_TYPE_ATK_LIMIT || ( type >= 300 && type <= 400 ))) { // console.log("blockByRecordBattleCheat----type=", type); return; }