diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua index 6e970cea83..f27dc49269 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/BattleWinPopup.lua @@ -78,6 +78,8 @@ function BattleWinPopup:NextStep() end UIManager.OpenPanel(UIName.RewardItemPopup, m_battleResult.drop, 1,function() if m_callBack then m_callBack() end + --内容优化 心魔试炼推送 + Game.GlobalEvent:DispatchEvent(GameEvent.PatFace.PatFaceSend,FacePanelType.MonsterWave) end, nil, not m_notShowRecord) elseif m_fightType == 6 then -- 新关卡的战斗 FightPointPassManager.FightBattleEnd() diff --git a/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua b/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua index 386ffdcb6e..a1b9630991 100644 --- a/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Recruit/SingleRecruitPanel.lua @@ -58,9 +58,13 @@ end --绑定事件(用于子类重写) function SingleRecruitPanel:BindEvent() Util.AddClick(self.sureBtn, function() - isFirst=true + -- isFirst=true self:ClosePanel() - end) + if PlayerManager.IsGetFiveStarHero and OperatingManager.IsShowFiveStarPatch then + Game.GlobalEvent:DispatchEvent(GameEvent.PatFace.PatFaceSend, FacePanelType.GrowGift, 5) + PlayerManager.IsGetFiveStarHero = false + end + end) Util.AddClick(self.againBtn, function() local d=RecruitManager.GetExpendData(type) if BagManager.GetItemCountById(d[1])