🐞 fix(防破解): 排除203类型增加321类型

This commit is contained in:
luying
2023-08-14 15:21:03 +08:00
parent a5df154448
commit 2e663dbd11

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 || ( type >= 300 && type <= 400 ))) {
if (type && (type === CHECT_BATTLE_TYPE || type === CHECT_BATTLE_TYPE_HIDE || type === CHECT_BATTLE_TYPE_ATK_LIMIT || type === 203 || ( type >= 300 && type <= 400 && type != 321 ))) {
// console.log("blockByRecordBattleCheat----type=", type);
return;
}