From 0cda425c0d7863b75fd2d6f9ffbd28782f7857a9 Mon Sep 17 00:00:00 2001
From: wangzhenxing <1545929779@qq.com>
Date: Fri, 5 Jul 2024 15:11:34 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B3=95=E5=AE=9D=E8=AF=A6=E6=83=85=E7=95=8C?=
=?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../~Lua/Modules/Popup/FaLingSingleShowPopup.lua | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/FaLingSingleShowPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/FaLingSingleShowPopup.lua
index 5e4c8f5ee1..c6e40f5a8e 100644
--- a/Assets/ManagedResources/~Lua/Modules/Popup/FaLingSingleShowPopup.lua
+++ b/Assets/ManagedResources/~Lua/Modules/Popup/FaLingSingleShowPopup.lua
@@ -391,7 +391,8 @@ function FaLingSingleShowPopup:OnShow()
end
skillData.des=skillData.des.."(".. ProfessionType[lvList[i].ShowSkill[2]].."职业佩戴后生效".. ")"
elseif type==2 then
- if lv>=lvList[i].Level and self.curHeroData and self.curHeroData.staticId==lvList[i].ShowSkill[2] then
+ --LogError("lv=========="..lv.." lvList[i].Level=="..lvList[i].Level.." self.curHeroData.staticId=="..self.curHeroData.staticId.." lvList[i].ShowSkill[2]=="..lvList[i].ShowSkill[2])
+ if lv>=lvList[i].Level and self.curHeroData and self.curHeroData.heroConfig.Id==lvList[i].ShowSkill[2] then
skillData.state=1
end
skillData.des=skillData.des.."(".. heroConfig[lvList[i].ShowSkill[2]].ReadingName .."佩戴后生效".. ")"
@@ -418,7 +419,7 @@ function FaLingSingleShowPopup:OnShow()
local info = go:GetComponent("Text")
local skillData=goldSuiteSkill[i]
if skillData.state==1 then
- info.text = string.format("%s","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
+ info.text = string.format("%s","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
else
info.text = string.format("%s","["..skillData.openLv.."级开启]:"..GetLanguageStrById(skillData.des))
end