This commit is contained in:
mamengke01
2020-12-24 13:59:37 +08:00
parent d161435c4f
commit 8a2b9d393a

View File

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