变身卡不能实时开启修改

TCX_dev_realOne_master
PC-202302260912\Administrator 2023-12-15 10:44:32 +08:00
parent 33240b5b1a
commit 44f1890c97
1 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ function IncarnationPanel:RefreshUpList()
for i = 1,4 do
self.upLayoutItemList[i].pos.gameObject:SetActive(false)
self.upLayoutItemList[i].btn.gameObject:SetActive(false)
self.upLayoutItemList[i].lv.gameObject:SetActive(curLevel<tonumber(limits[i]))
self.upLayoutItemList[i].lv.gameObject:SetActive(PracticeManager.PracticeLevel<tonumber(limits[i]))
--local xiuxian=ConfigManager.GetConfigData(ConfigName.XiuXianConfig,tonumber(limits[i]))
if xiuxian then
self.upLayoutItemList[i].lv.text=xiuxian[tonumber(limits[i])].RealmName.."期解锁"
@ -365,8 +365,8 @@ function IncarnationPanel:SetSingleData(go,data,index)
break
end
end
if curLevel<tonumber(limits[pos]) then
--LogError("curLevel==="..curLevel.." limits[pos]==="..limits[pos].."PracticeManager.PracticeLevel=="..PracticeManager.PracticeLevel)
if PracticeManager.PracticeLevel<tonumber(limits[pos]) then
PopupTipPanel.ShowTip(xiuxian[tonumber(limits[pos])].RealmName.."期解锁")
return
end