宝石消耗

This commit is contained in:
mamengke01
2020-12-24 11:46:17 +08:00
parent c3a1d68aae
commit 60ec68ac7f

View File

@@ -112,8 +112,8 @@ arr.forEach(o => {
lastJewel.count = material.count;
lastJewel.nextJewelId = o.good_id;
if (!!o.specialMaterial.ids[0]) {
lastJewel.specialCount = o.specialMaterial.ids[0];
lastJewel.nextSpecialId = o.specialMaterial.count;
lastJewel.specialCount = o.specialMaterial.count;
lastJewel.nextSpecialId = o.specialMaterial.ids[0];
}
dicJewel.set(lastJewel.good_id, _.pick(lastJewel, Object.keys(DicGoodsKeys)));
}