皮肤:周边相关功能影响

This commit is contained in:
luying
2021-10-19 14:24:05 +08:00
parent da5a43abba
commit 864f856c1c
16 changed files with 254 additions and 199 deletions

View File

@@ -58,7 +58,7 @@ export class NormalBattleHandler {
if (preBattle == -1) return resResult(STATUS.BATTLE_NEED_PREVIOUS_GK);
}
let { isOK, heroes, lineup } = await checkBattleHeroes(roleId, seqIds);
let { isOK, hids, lineup } = await checkBattleHeroes(roleId, seqIds);
if (!isOK) return resResult(STATUS.BATTLE_HERO_NOT_FOUND);
const battleCode = genCode(8); // 关卡唯一值
@@ -72,7 +72,7 @@ export class NormalBattleHandler {
}
dailyNum = Object.assign(dailyNum, checkResult.data);
} else if (warInfo.warType == WAR_TYPE.TOWER) {
let checkResult = await checkTowerWar(roleId, battleId, seqIds, heroes);
let checkResult = await checkTowerWar(roleId, battleId, seqIds, hids);
if (checkResult.status == -1) {
return checkResult.resResult
}
@@ -98,7 +98,7 @@ export class NormalBattleHandler {
status: 0,
warName: warInfo.gk_name,
warType: warInfo.warType,
record: { heroes, seqIds, lineup }
record: { heroes: hids, seqIds, lineup }
}
}, true);