From 5e74c69e8ef8cbf167cc380cd066ca3267726e5a Mon Sep 17 00:00:00 2001 From: luying Date: Fri, 14 May 2021 10:18:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E7=9F=B3=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=B7=A8=E7=BA=A7=E5=90=88=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/equipService.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game-server/app/services/equipService.ts b/game-server/app/services/equipService.ts index 2414550fd..56cd99f5c 100644 --- a/game-server/app/services/equipService.ts +++ b/game-server/app/services/equipService.ts @@ -38,6 +38,8 @@ export function checkMaterialEnough(consumes: Array<{ id: number, count: number delete comJewelMap[id]; if (!!jewelInfo.specialCount) needConsumes.push({ count: jewelInfo.specialCount * comcount, id: jewelInfo.nextSpecialId });//消耗中曾加合成下一级需要的特殊消耗物品的数量 + id = jewelInfo.nextJewelId; + jewelInfo = getJewelById(jewelInfo.nextJewelId); } }