From b5bd6fa2b6c5a764ca2d333a1e8c1f3f5e08b59d Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Wed, 29 Nov 2023 16:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A3=85=E5=A4=87=E5=B1=8F=E8=94=BD=E5=85=B1?= =?UTF-8?q?=E9=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/EquipTreasureManager.lua | 2 +- .../ManagedResources/~Lua/Modules/RoleInfo/RoleEquipPanel.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua index b1e725ed05..18c5575869 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua @@ -36,7 +36,7 @@ function this.InitSingleTreasureData(_singleData,notAdd) 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.treeLv= 0 --_singleData.treeLv <= single.maxTreeLv and _singleData.treeLv or single.maxTreeLv single.upHeroDid = "" single.fourTotal = MonsterCampManager.GetFourElementTotalWave() local quantity = currJewel.Level diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleEquipPanel.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleEquipPanel.lua index a614dfcecc..e9ab089f00 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleEquipPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleEquipPanel.lua @@ -513,7 +513,7 @@ function this.ShowHeroEquip() heroConfig.MaxRank >= tonumber(stars[2]) then isCanUpEquipTreasure = true - this.equipTreasureBtn.gameObject:SetActive(true) + this.equipTreasureBtn.gameObject:SetActive(false) this.treasure1.gameObject:SetActive(true) this.treasure2.gameObject:SetActive(true) this.treasurePage1.gameObject:SetActive(true)