装备:添加原天晶石的返回

This commit is contained in:
luying
2022-02-25 14:14:28 +08:00
parent a9dbd8cabb
commit b299620c70
@@ -327,7 +327,7 @@ export class EquipHandler {
} }
} }
if(originJewel) { // 更新自己的天晶石 if(originJewel) { // 更新自己的天晶石
await JewelModel.putOnOrOff(originJewel.seqId, canSentMineToOrigin? jewel.hid: 0, canSentMineToOrigin? ePlaceId: 0); originJewel = await JewelModel.putOnOrOff(originJewel.seqId, canSentMineToOrigin? jewel.hid: 0, canSentMineToOrigin? ePlaceId: 0);
} }
// 目标镶嵌上 // 目标镶嵌上
@@ -341,7 +341,7 @@ export class EquipHandler {
ePlace: updatedEplace ePlace: updatedEplace
} }
return resResult(STATUS.SUCCESS, { curHero, originHero: originHeroResult, curJewel }); return resResult(STATUS.SUCCESS, { curHero, originHero: originHeroResult, curJewel, originJewel });
} }
// 卸下天晶石 // 卸下天晶石