diff --git a/Assets/ManagedResources/~Lua/Modules/Gem/GemManager.lua b/Assets/ManagedResources/~Lua/Modules/Gem/GemManager.lua index b326dd1f7c..7b59f66015 100644 --- a/Assets/ManagedResources/~Lua/Modules/Gem/GemManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Gem/GemManager.lua @@ -44,7 +44,7 @@ end --获取穿戴着的命石 function this.GetWearedGem(_GemList) for i,v in ipairs(_GemList) do - LogPink(string.format("命格:%s index:%s ID:%s",v.gridId,v.gridIndex,v.itemId)) + -- LogPink(string.format("命格:%s index:%s ID:%s",v.gridId,v.gridIndex,v.itemId)) if v and v.gridId then if not this.myGemList[v.gridId] then this.myGemList[v.gridId] = {} diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua index 136fbd44c3..27a50604f7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RewardGemSingleShowPopup.lua @@ -98,7 +98,7 @@ function RewardGemSingleShowPopup:BindEvent() UIManager.OpenPanel(UIName.GeneralBigPopup,GENERAL_POPUP_TYPE.GemCompound,itemSid,nil,function () self:ClosePanel() end) - local bool,bool2,list,money = GemManager.FastConpound(itemSid) + local bool2,list,money,bool = GemManager.FastConpound(itemSid) LogGreen("bool:"..tostring(bool)) if bool and bool2 then LogGreen("money:"..tostring(money)) @@ -138,6 +138,7 @@ function RewardGemSingleShowPopup:OnOpen(...) end end function RewardGemSingleShowPopup:OnShow() + Log("itemSid:"..tostring(itemSid)) this.itemName.text = GetStringByEquipQua(itemConfigData.Quantity, GetLanguageStrById(itemConfigData.Name)) this.topBar:GetComponent("Image").sprite = self.spLoader:LoadSprite("t_tongyong_di_"..itemConfigData.Quantity) this.howGet:SetActive(false)