【命格】提交
parent
0b9bd476dd
commit
1f249735a3
|
@ -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] = {}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue