宝石:修复跨级合成

This commit is contained in:
luying
2021-05-14 10:18:31 +08:00
parent c62fe53ee4
commit 5e74c69e8e

View File

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