镶嵌:修复合成镶嵌任务bug

This commit is contained in:
luying
2021-06-17 17:39:19 +08:00
parent 301ec2e762
commit ab38a171d4

View File

@@ -769,7 +769,7 @@ export class EquipHandler {
//穿戴宝石
equip = await EquipModel.updateEquipInfo(eid, { holes: equip.holes });
if (!!equip.hid) {
let hero = await HeroModel.findByHidAndRole(equip.hid, roleId);
let hero = await HeroModel.findByHidAndRoleWithEquip(equip.hid, roleId);
await calPlayerCeAndSave(HERO_SYSTEM_TYPE.JEWEL_ON, sid, roleId, hero, {}, [jewel, oldJewel]);
//任务