【拍脸优化】

dev_chengFeng
guowei 2020-12-23 14:54:53 +08:00
parent 4520616bd0
commit 47cc019082
2 changed files with 8 additions and 2 deletions

View File

@ -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()

View File

@ -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])<d[2] then