🐞 fix(防破解): 添加忽略的type类型
This commit is contained in:
@@ -562,7 +562,7 @@ export class NormalBattleHandler {
|
|||||||
if (roleId == undefined || type == undefined || sid == undefined) {
|
if (roleId == undefined || type == undefined || sid == undefined) {
|
||||||
return;
|
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);
|
// console.log("blockByRecordBattleCheat----type=", type);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user