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