From 6606b6bc64fb3c117914f262555f52653f9d2298 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Thu, 28 Apr 2022 13:46:14 +0800 Subject: [PATCH] =?UTF-8?q?56=E7=BA=A7=E5=AE=9D=E7=89=A9=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=9C=A8=E8=83=8C=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/GodPrint/GodPrintPopUp.lua | 1 - .../ManagedResources/~Lua/Modules/Player/PlayerManager.lua | 3 +++ Assets/ManagedResources/~Lua/View/ItemView.lua | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua b/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua index 780b778992..9c0495f924 100644 --- a/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua +++ b/Assets/ManagedResources/~Lua/Modules/GodPrint/GodPrintPopUp.lua @@ -230,7 +230,6 @@ function GodPrintPopUp:RefreshShow(type) self.downBtn:SetActive(type==Type.Down) self.upStarBtn:SetActive(type~=0 and equipConfig[soulId].Quality<7) --基础信息 - LogError("soulid=="..soulId) self.soulName.text = GetLanguageStrById(equipConfig[soulId].Name) self.frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(equipConfig[soulId].Quality)) self.icon.sprite = self.spLoader:LoadSprite(GetResourcePath(itemConfig[soulId].ResourceID)) diff --git a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua index 43781b153d..dbf2ef265b 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua @@ -244,6 +244,9 @@ function this.BcakUpdateUserExp(_msg) CheckRedPointStatus(RedPointType.HeroExplore) CheckRedPointStatus(RedPointType.LegendExplore) CheckRedPointStatus(RedPointType.People_Mirror) + if this.level==56 then + NetManager.AllEquipTreasureRequest(0) + end end Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnPlayerLvChange) diff --git a/Assets/ManagedResources/~Lua/View/ItemView.lua b/Assets/ManagedResources/~Lua/View/ItemView.lua index 80824e4d17..3e024e50ff 100644 --- a/Assets/ManagedResources/~Lua/View/ItemView.lua +++ b/Assets/ManagedResources/~Lua/View/ItemView.lua @@ -828,6 +828,12 @@ function ItemView:NoGetRewardShow(_reward, effectLayer, isShowAddImage) Util.AddOnceClick(self.frameBtn, function() UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, itemSId,nil,self.isRewardItemPop) end) + elseif itemDataConFig.ItemType == ItemType.GodPrint then + self.frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(itemConfig[itemSId].Quantity)) + self.icon.sprite = self.spLoader:LoadSprite(GetResourcePath(itemConfig[itemSId].ResourceID)) + Util.AddOnceClick(self.frameBtn, function() + UIManager.OpenPanel(UIName.GodPrintPopUp,0,nil,itemSId ) + end) else --,5随机道具,6符文 self.frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(itemConfig[itemSId].Quantity))