diff --git a/game-server/app/servers/role/handler/equipHandler.ts b/game-server/app/servers/role/handler/equipHandler.ts index 286b37c40..29e0e1f16 100644 --- a/game-server/app/servers/role/handler/equipHandler.ts +++ b/game-server/app/servers/role/handler/equipHandler.ts @@ -974,11 +974,9 @@ export class EquipHandler { if (!dicTargetInfo) return resResult(STATUS.WRONG_PARMS); if (dicTargetInfo.quality != dicCompose.targetQuality) return resResult(STATUS.COM_BLUEPRT_QUALITY_ERROR); - // 添加寻宝币 - original.concat(dicCompose.coinNum); // 消耗藏宝图和寻宝币 - let costResult = await handleCost(roleId, sid, original); + let costResult = await handleCost(roleId, sid, [...original, ...dicCompose.coinNum]); if (!costResult) return resResult(STATUS.ROLE_MATERIAL_NOT_ENOUGH); const reward = [{ id: target, count: 1 }];