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); } }