【修行】提交
parent
7d5de9d23a
commit
a93b2391e6
|
@ -67,7 +67,6 @@ function Practice:BindEvent()
|
|||
end)
|
||||
Util.AddClick(self.starBtn, function()
|
||||
LogGreen("打开山河社稷图")
|
||||
UIManager.OpenPanel(UIName.CongratulationPopup,CONGRATULATION_TYPE.Practice,self.curLevelConfig)
|
||||
end)
|
||||
Util.AddClick(self.button, function()
|
||||
if self:UpgradeCheck() then return end
|
||||
|
@ -75,10 +74,10 @@ function Practice:BindEvent()
|
|||
newPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
|
||||
UIManager.OpenPanel(UIName.WarPowerChangeNotifyPanelV2,{oldValue = oldPower,newValue = newPower})
|
||||
oldPower = newPower
|
||||
if PracticeManager.PracticeBigLevel - oldBigLevel == 1 then
|
||||
PopupTipPanel.ShowTip(string.format("恭喜突破至%s期!",self.curLevelConfig.RealmName))
|
||||
end
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnChangeName)
|
||||
if PracticeManager.PracticeBigLevel - oldBigLevel == 1 then
|
||||
UIManager.OpenPanel(UIName.CongratulationPopup,CONGRATULATION_TYPE.Practice,XinXianConfig[PracticeManager.PracticeLevel])
|
||||
end
|
||||
self:OnShow()
|
||||
end)
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue