From 250683a8224329b815f514ecffa53333e1dcf1fa Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Wed, 8 Sep 2021 18:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B1=B1=E6=B2=B3=E7=A4=BE=E7=A8=B7=E5=9B=BE?= =?UTF-8?q?=E5=BC=95=E5=AF=BC=E5=8D=A1=E6=AD=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/FightLevelInfoPopup_MainLevelReward.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/FightLevel/View/FightLevelInfoPopup_MainLevelReward.lua b/Assets/ManagedResources/~Lua/Modules/FightLevel/View/FightLevelInfoPopup_MainLevelReward.lua index 0b2399c795..2cbd0c8c0f 100644 --- a/Assets/ManagedResources/~Lua/Modules/FightLevel/View/FightLevelInfoPopup_MainLevelReward.lua +++ b/Assets/ManagedResources/~Lua/Modules/FightLevel/View/FightLevelInfoPopup_MainLevelReward.lua @@ -66,7 +66,16 @@ function this.SingleDataShow(_go,_rewardData,_index) local index = _index - 1 local reward = RewardGroup[_rewardData].ShowItem local condition = fightLevelData.config.ConditionValue or {} - local des = condition and HardStageCondition[condition[index]].Describe or "" + local des = "" + if index == 0 then + des = HardStageCondition[100].Describe + else + if condition and condition[index] and HardStageCondition[condition[index]] then + des = HardStageCondition[condition[index]].Describe + else + des = "" + end + end Util.GetGameObject(_go, "titleImage/titleText"):GetComponent("Text").text = index == 0 and "首通奖励" or des Util.GetGameObject(_go, "titleImage/Text"):GetComponent("Text").text = index Util.GetGameObject(_go, "okButton"):GetComponent("Image").sprite = this.spLoader:LoadSprite("g_ghhb_yidacheng_zh")