diff --git a/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua b/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua index 66d933976f..38f32b5fc6 100644 --- a/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/JumpServer/JumpServerHightLadderPanel.lua @@ -206,8 +206,19 @@ function this.ShowSingleData(go,data,i) sdBtnRedPoint:SetActive(data.personInfo.worshipTime < 0) Util.AddOnceClick(sdBtn,function() if data.personInfo.worshipTime < 0 then - NetManager.GetWorldArenaChallengeRequest(data.personInfo.serverId,data.personInfo.uid,function() - PopupTipPanel.ShowTip("膜拜成功,获得罗浮币X50!") + NetManager.GetWorldArenaChallengeRequest(data.personInfo.serverId,data.personInfo.uid,function(msg) + local itemId = 0 + local itemNum = 0 + if msg.drop.itemlist ~= nil and #msg.drop.itemlist > 0 then + for i = 1, #msg.drop.itemlist do + if msg.drop.itemlist[i].itemNum > 0 then + itemId = msg.drop.itemlist[i].itemId-- + itemNum = msg.drop.itemlist[i].itemNum + end + end + end + PopupTipPanel.ShowTip(string.format("膜拜成功,获得%sX%s!"),ConfigManager.GetConfigData(ConfigName.ItemConfig,itemId).Name, itemNum) + -- PopupTipPanel.ShowColorTip(name, icon, num) --刷新界面 end) end