【修行】修行玩法里提升战力,排行榜战力刷新不及时

dev_chengFeng
ZhangBiao 2021-05-27 09:28:10 +08:00
parent 9d4ec4495d
commit 5ce0867bd2
1 changed files with 3 additions and 0 deletions

View File

@ -81,7 +81,10 @@ function Practice:BindEvent()
newPower = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
UIManager.OpenPanel(UIName.WarPowerChangeNotifyPanelV2,{oldValue = oldPower,newValue = newPower})
oldPower = newPower
--名字颜色
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnChangeName)
--战力更改请求
NetManager.RequestUserForceChange(FormationTypeDef.FORMATION_NORMAL)
if PracticeManager.PracticeBigLevel - oldBigLevel == 1 then
UIManager.OpenPanel(UIName.CongratulationPopup,CONGRATULATION_TYPE.Practice,XinXianConfig[PracticeManager.PracticeLevel])
if PracticeManager.PracticeBigLevel == 2 then