变身卡不能实时上阵修改
parent
781e0d5f6b
commit
be5fa5dded
|
@ -212,7 +212,7 @@ function IncarnationPanel:RefreshUpList()
|
||||||
for i = 1,4 do
|
for i = 1,4 do
|
||||||
self.upLayoutItemList[i].pos.gameObject:SetActive(false)
|
self.upLayoutItemList[i].pos.gameObject:SetActive(false)
|
||||||
self.upLayoutItemList[i].btn.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]))
|
--local xiuxian=ConfigManager.GetConfigData(ConfigName.XiuXianConfig,tonumber(limits[i]))
|
||||||
if xiuxian then
|
if xiuxian then
|
||||||
self.upLayoutItemList[i].lv.text=xiuxian[tonumber(limits[i])].RealmName.."期解锁"
|
self.upLayoutItemList[i].lv.text=xiuxian[tonumber(limits[i])].RealmName.."期解锁"
|
||||||
|
@ -360,8 +360,8 @@ function IncarnationPanel:SetSingleData(go,data,index)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
--LogError("curLevel==="..curLevel.." limits[pos]==="..limits[pos].."PracticeManager.PracticeLevel=="..PracticeManager.PracticeLevel)
|
||||||
if curLevel<tonumber(limits[pos]) then
|
if PracticeManager.PracticeLevel<tonumber(limits[pos]) then
|
||||||
PopupTipPanel.ShowTip(xiuxian[tonumber(limits[pos])].RealmName.."期解锁")
|
PopupTipPanel.ShowTip(xiuxian[tonumber(limits[pos])].RealmName.."期解锁")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue