【大闹天宫】已通关试炼节点,小人没往前走,或者挑战贪婪节点失败

dev_chengFeng
zhangqiang 2021-01-12 14:42:07 +08:00
parent 027bf0acde
commit 54c44d2983
2 changed files with 5 additions and 1 deletions

View File

@ -143,7 +143,10 @@ function this.ShowBattleResultByExpedition()
if not isBackBattle then
local GetCurNodeInfo = ExpeditionManager.curAttackNodeInfo
if GetCurNodeInfo.type == ExpeditionNodeType.Greed then--贪婪节点
Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshMainPanel)--刷新界面
Timer.New(function ()
Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshPlayAniMainPanel)
-- Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshMainPanel)--刷新界面
end,0.3):Start()
PopupTipPanel.ShowTip( Language[12194])
else
MsgPanel.ShowTwo(Language[11540], function()

View File

@ -220,6 +220,7 @@ function this.ShowBattleResultByExpedition(drop)
m_battlePanel:ClosePanel()
end
PopupTipPanel.ShowTip(Language[12192])
Game.GlobalEvent:DispatchEvent(GameEvent.Expedition.RefreshPlayAniMainPanel)
else
UIManager.OpenPanel(UIName.RewardItemPopup,drop, 1,function(isBackBattle)--isBackBattle true时 为回放不走回调
LogPink("isBackBattle "..tostring(isBackBattle))