From a25a1329c8bbda6e3f2e0ad9f47800be0652243b Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Fri, 10 May 2024 20:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E6=84=BF=E4=BF=AE=E6=94=B9=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Popup/WishHeroRewardPopup.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/WishHeroRewardPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/WishHeroRewardPopup.lua index 7d5a90e20f..2cdcf155e0 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/WishHeroRewardPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/WishHeroRewardPopup.lua @@ -123,7 +123,12 @@ function this.SetScrollPre(root,data) goBtn:SetActive(false) getBtn:SetActive(false) local mask=Util.GetGameObject(root,"mask") - info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为"..wishData.Weight/100 .."%" + if type==1 then + info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为: 传说"..wishData.Weight/100 .."%".." 神话"..wishData.MythWeight/100 .."%" + else + info.text="宝箱"..wishData.Level.."级奖励,心愿概率提升为:"..wishData.Weight/100 .."%" + end + if not itemList[root] then itemList[root] = {} end