宝石:修复跨级合成
This commit is contained in:
@@ -38,6 +38,8 @@ export function checkMaterialEnough(consumes: Array<{ id: number, count: number
|
|||||||
delete comJewelMap[id];
|
delete comJewelMap[id];
|
||||||
if (!!jewelInfo.specialCount)
|
if (!!jewelInfo.specialCount)
|
||||||
needConsumes.push({ count: jewelInfo.specialCount * comcount, id: jewelInfo.nextSpecialId });//消耗中曾加合成下一级需要的特殊消耗物品的数量
|
needConsumes.push({ count: jewelInfo.specialCount * comcount, id: jewelInfo.nextSpecialId });//消耗中曾加合成下一级需要的特殊消耗物品的数量
|
||||||
|
id = jewelInfo.nextJewelId;
|
||||||
|
|
||||||
jewelInfo = getJewelById(jewelInfo.nextJewelId);
|
jewelInfo = getJewelById(jewelInfo.nextJewelId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user