装备:卸下镶嵌

This commit is contained in:
luying
2022-02-16 16:56:07 +08:00
parent 29e66fc844
commit e0bf64a35e
3 changed files with 25 additions and 1 deletions

View File

@@ -236,7 +236,6 @@ export function updateEplaces(eplace: EPlace[], update: Map<number, Partial<EPla
export function checkJewelCanPutOnEquip(equip: EPlace, jewel: JewelType) {
// 位置是否满足
let dicJewel = gameData.jewel.get(jewel.id);
console.log('####', dicJewel, dicJewel.eplaceId, equip.id)
if(!dicJewel || dicJewel.eplaceId != equip.id) return false;
// 品质是否满足
let dicEquipQualityExtra = gameData.equipQualityExtra.get(equip.quality);