From 05d1eeeb6c50005755c47ce1c23bc93b1a783417 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Wed, 7 Sep 2022 13:21:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A5=9E=E5=BA=94=20=E4=B8=8A=E9=99=90?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/EquipTreasureManager.lua | 6 +----- .../~Lua/Modules/RoleInfo/EquipTreasureStrongPopup.lua | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua index 08a7d8476e..8a76b2010b 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua @@ -32,16 +32,12 @@ function this.InitSingleTreasureData(_singleData,notAdd) single.idDyn = _singleData.id single.lv = _singleData.exp single.refineLv = _singleData.rebuildLevel - single.treeLv=_singleData.treeLv single.fourSpirit=_singleData.fourSpirit single.maxLv = currJewel.Max[1] single.maxRefineLv = currJewel.Max[2] single.maxTreeLv = currJewel.GodHoodMaxlv + single.treeLv=_singleData.treeLv <= single.maxTreeLv and _singleData.treeLv or single.maxTreeLv single.upHeroDid = "" - -- single.TreeLv = function() - -- return SacredTreeManager.treeLevel <= single.maxTreeLv and SacredTreeManager.treeLevel or single.maxTreeLv - -- end - -- single.treeLv = single.TreeLv() single.fourTotal = MonsterCampManager.GetFourElementTotalWave() local quantity = currJewel.Level single.quantity = quantity diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureStrongPopup.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureStrongPopup.lua index cfe00cc976..4cce33f8e1 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureStrongPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureStrongPopup.lua @@ -422,7 +422,7 @@ function EquipTreasureStrongPopup:SetWindShow(_index) this.btnStrong:SetActive(false) this.btnShenying:SetActive(true) this.SetBtnSelect(this.btn_shenyingPage) - isMax=curEquipData.treeLv==curEquipData.maxTreeLv + isMax=curEquipData.treeLv>=curEquipData.maxTreeLv this.properList[0].leftTxt.text = "神应等级"..curEquipData.treeLv if isMax then this.properList[0].rightTxt.text = Language[11062]