【修行】红点调整
parent
82a0370730
commit
040f83f370
|
@ -349,10 +349,12 @@ end
|
|||
--神印红点检测
|
||||
function this.PracticeCheckImprint()
|
||||
for i, v in ConfigPairs(XiuXianSkillConfig) do
|
||||
local str = PlayerPrefs.GetInt(PlayerManager.uid.."Imprint"..v.Id)
|
||||
if str == 0 then
|
||||
LogGreen("return true Imprint")
|
||||
return true
|
||||
if this.ImprintServerData[v.Id] then
|
||||
local str = PlayerPrefs.GetInt(PlayerManager.uid.."Imprint"..v.Id)
|
||||
if str == 0 then
|
||||
LogGreen("return true Imprint")
|
||||
return true
|
||||
end
|
||||
end
|
||||
end
|
||||
LogRed("return false Imprint")
|
||||
|
|
|
@ -69,7 +69,7 @@ function Practice:BindEvent()
|
|||
LogGreen("打开山河社稷图")
|
||||
end)
|
||||
Util.AddClick(self.starBtn, function()
|
||||
LogGreen("打开山河社稷图")
|
||||
UIManager.OpenPanel(UIName.FightLevelChapterPanel)
|
||||
end)
|
||||
Util.AddClick(self.button, function()
|
||||
if self:UpgradeCheck() then return end
|
||||
|
@ -130,7 +130,8 @@ end
|
|||
|
||||
function Practice:OnShow()
|
||||
self.playerInfoView:OnShow()
|
||||
-- CheckRedPointStatus(RedPointType.Practice)
|
||||
CheckRedPointStatus(RedPointType.Practice_imprint)
|
||||
CheckRedPointStatus(RedPointType.Practice_upgrade)
|
||||
FormationManager.RefreshMainFormationPower()
|
||||
self.curLevelConfig = PracticeManager.GetCurConfigData()
|
||||
LogYellow("当前修行等级Id:"..tostring(PracticeManager.PracticeLevel))
|
||||
|
|
Loading…
Reference in New Issue