镶嵌:修复合成镶嵌任务bug
This commit is contained in:
@@ -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]);
|
||||
|
||||
//任务
|
||||
|
||||
Reference in New Issue
Block a user