diff --git a/game-server/app/services/comBattleService.ts b/game-server/app/services/comBattleService.ts index 846268849..44bba5ee4 100644 --- a/game-server/app/services/comBattleService.ts +++ b/game-server/app/services/comBattleService.ts @@ -264,7 +264,7 @@ export async function handleComBtlProgress(teamStatus: MemComBtlTeam, robotHurtT if (result && teamStatus.capId != 'robot') { const { sid } = channel.getMember(teamStatus.capId); let res = await handleCost(teamStatus.capId, sid, [{ id: teamStatus.blueprtId, count: 1 }], ITEM_CHANGE_REASON.COM_BATTLE_USE_BLUEPRT); - if (res === true) return resResult(STATUS.COM_BATTLE_BLUEPRT_NOT_ENOUGH); + if (res === false) return resResult(STATUS.COM_BATTLE_BLUEPRT_NOT_ENOUGH); } // // 为了背包显示,队长藏宝图在创建队伍的时候就扣掉了,如果输了,返还藏宝图 // if (!result && teamStatus.capId != 'robot') {