From 8a2b9d393aa7287e5c31e9a7cbdef5d24c529068 Mon Sep 17 00:00:00 2001 From: mamengke01 <794347210@qq.com> Date: Thu, 24 Dec 2020 13:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E7=9F=B3?= 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, 1 insertion(+), 1 deletion(-) diff --git a/game-server/app/services/equipService.ts b/game-server/app/services/equipService.ts index 390f321d5..3ff743047 100644 --- a/game-server/app/services/equipService.ts +++ b/game-server/app/services/equipService.ts @@ -35,7 +35,7 @@ export function checkMaterialEnough(consumes:Array<{id: number, count: number}>, comJewelMap[jewelInfo.nextJewelId] = comcount + (comJewelMap[jewelInfo.nextJewelId] || 0); delete comJewelMap[jewelInfo.good_id]; if (!!jewelInfo.specialCount) - needConsumes.push({ count: jewelInfo.specialCount, id: jewelInfo.nextSpecialId}); + needConsumes.push({ count: jewelInfo.specialCount * comcount, id: jewelInfo.nextSpecialId}); jewelInfo = getJewelById(jewelInfo.nextJewelId); } }