🐞 fix(防破解): 添加忽略的type类型

This commit is contained in:
luying
2023-07-27 10:39:12 +08:00
parent 62a022abaf
commit 3119747084

View File

@@ -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;
}