From e79b46200a7ae3825a37f728d7667ed2f6619c8c Mon Sep 17 00:00:00 2001 From: "DESKTOP-MMO982B\\User" <752966621@qq.com> Date: Thu, 14 Aug 2025 11:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AF=8F=E5=88=86=E9=92=9F=E6=94=B9=E6=88=90?= =?UTF-8?q?=E6=AF=8F=E5=8D=8A=E5=B0=8F=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua index 155513fd0a..7e8279f0e9 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/GodsWayTowerPanel.lua @@ -294,6 +294,7 @@ function this.IntiReward() go.item = newObjToParent(this.rewardItemPre, this.rewardGrid) go.icon = Util.GetGameObject(go.item, "iconBg/icon"):GetComponent("Image") go.text = Util.GetGameObject(go.item, "rewardbg/context"):GetComponent("Text") + Util.GetGameObject(go.item, "rewardbg/rate"):SetActive(false) this.rewardList[i] = go end @@ -302,10 +303,10 @@ function this.IntiReward() local addValue = FightPointPassManager.GetItemVipValue(rewardData[i][1]) local baseValue = rewardData[i][2] if addValue - 1 <= 0 then - this.rewardList[i].text.text = "+" .. rewardData[i][2] + this.rewardList[i].text.text = "+" .. rewardData[i][2] .."/30分钟" else local valueShow = math.round((addValue - 1) * baseValue) - this.rewardList[i].text.text = string.format("+%s\n(+%s)", baseValue, valueShow) + this.rewardList[i].text.text = string.format("+%s\n(+%s)", baseValue, valueShow).."/30分钟" end end end