宝石消耗
This commit is contained in:
@@ -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)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user