🐞 fix(防破解): 去除一个破解type
This commit is contained in:
@@ -3,7 +3,7 @@ import { BattleRecordModel } from '../../../db/BattleRecord';
|
||||
import { BattleSweepRecordModel } from '../../../db/BattleSweepRecord';
|
||||
import { BattleCheatRecModel } from '../../../db/BattleCheatRec';
|
||||
import { genCode, getReasonByWarType, getWarTypeName } from '../../../pubUtils/util';
|
||||
import { WAR_TYPE, EVENT_STATUS, REDIS_KEY, KING_EXP_RATIO_TYPE, TA_EVENT, ITEM_CHANGE_REASON, BLOCK_TYPE, CHECT_BLOCK_TYPE, CHECT_BATTLE_TYPE, CHECT_BATTLE_TYPE_HIDE } from '../../../consts';
|
||||
import { WAR_TYPE, EVENT_STATUS, REDIS_KEY, KING_EXP_RATIO_TYPE, TA_EVENT, ITEM_CHANGE_REASON, BLOCK_TYPE, CHECT_BLOCK_TYPE, CHECT_BATTLE_TYPE, CHECT_BATTLE_TYPE_HIDE, CHECT_BATTLE_TYPE_ATK_LIMIT } from '../../../consts';
|
||||
import { checkDaily, checkDailyAndIncrease } from '../../../services/dailyBattleService';
|
||||
import { checkTowerWar, towerBattleEnd } from '../../../services/battleService';
|
||||
import { WarReward } from '../../../services/warRewardService';
|
||||
@@ -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)) {
|
||||
if (type && (type === CHECT_BATTLE_TYPE || type === CHECT_BATTLE_TYPE_HIDE || type === CHECT_BATTLE_TYPE_ATK_LIMIT)) {
|
||||
// console.log("blockByRecordBattleCheat----type=", type);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user