tcx_xiyou_yueNan
parent
62c2843764
commit
035755c0f5
|
|
@ -196,7 +196,7 @@ function PracticeImprint:SetSingleImprint(_go, _data)
|
|||
end
|
||||
elseif configData.OpenType == 2 then
|
||||
heroContion:SetActive(true)
|
||||
local list = FaLingManager.GetAllEquipData()
|
||||
local list = FaLingManager.GetAllEquipDataNoBless()
|
||||
for i = 1, #configData.OpenValue do
|
||||
local t = Util.GetGameObject(_go, "needsList/pre" .. tostring(i) .. "/head"):GetComponent("Image")
|
||||
local condition = Util.GetGameObject(_go, "needsList/pre" .. tostring(i) .. "/Text"):GetComponent("Text")
|
||||
|
|
@ -204,9 +204,9 @@ function PracticeImprint:SetSingleImprint(_go, _data)
|
|||
t.sprite = self.spLoader:LoadSprite(GetResourcePath(itemConfig.ResourceID))
|
||||
condition.text = configData.OpenValue[i][2] .. "级"
|
||||
local level = 0
|
||||
for i = 1, #list do
|
||||
if list[i].lv > level and list[i].staticId == configData.OpenValue[i][1] then
|
||||
level = list[i].lv
|
||||
for k = 1, #list do
|
||||
if list[k].lv > level and list[k].staticId == configData.OpenValue[i][1] then
|
||||
level = list[k].lv
|
||||
end
|
||||
end
|
||||
if level < configData.OpenValue[i][2] then
|
||||
|
|
@ -352,11 +352,11 @@ function PracticeImprint:ShowSingleImprintInfoLayout(_serverData, _configData)
|
|||
local itemConfig = ConfigManager.GetConfigDataByKey(
|
||||
ConfigName.ItemConfig, "Id", _configData.OpenValue[i][1]
|
||||
)
|
||||
local list = FaLingManager.GetAllEquipData()
|
||||
local list = FaLingManager.GetAllEquipDataNoBless()
|
||||
local level = 0
|
||||
for i = 1, #list do
|
||||
if list[i].lv > level and list[i].staticId == _configData.OpenValue[i][1] then
|
||||
level = list[i].lv
|
||||
for k = 1, #list do
|
||||
if list[k].lv > level and list[k].staticId == _configData.OpenValue[i][1] then
|
||||
level = list[k].lv
|
||||
end
|
||||
end
|
||||
t.sprite = self.spLoader:LoadSprite(GetResourcePath(itemConfig.ResourceID))
|
||||
|
|
|
|||
Loading…
Reference in New Issue