宝石消耗

This commit is contained in:
mamengke01
2020-12-24 11:46:33 +08:00
parent c3a1d68aae
commit 60ec68ac7f
+2 -2
View File
@@ -112,8 +112,8 @@ arr.forEach(o => {
lastJewel.count = material.count; lastJewel.count = material.count;
lastJewel.nextJewelId = o.good_id; lastJewel.nextJewelId = o.good_id;
if (!!o.specialMaterial.ids[0]) { if (!!o.specialMaterial.ids[0]) {
lastJewel.specialCount = o.specialMaterial.ids[0]; lastJewel.specialCount = o.specialMaterial.count;
lastJewel.nextSpecialId = o.specialMaterial.count; lastJewel.nextSpecialId = o.specialMaterial.ids[0];
} }
dicJewel.set(lastJewel.good_id, _.pick(lastJewel, Object.keys(DicGoodsKeys))); dicJewel.set(lastJewel.good_id, _.pick(lastJewel, Object.keys(DicGoodsKeys)));
} }