变身卡不能实时上阵修改
parent
781e0d5f6b
commit
be5fa5dded
|
@ -212,7 +212,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.."期解锁"
|
||||
|
@ -360,8 +360,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
|
||||
|
|
Loading…
Reference in New Issue