【拍脸优化】
parent
4520616bd0
commit
47cc019082
|
|
@ -78,6 +78,8 @@ function BattleWinPopup:NextStep()
|
||||||
end
|
end
|
||||||
UIManager.OpenPanel(UIName.RewardItemPopup, m_battleResult.drop, 1,function()
|
UIManager.OpenPanel(UIName.RewardItemPopup, m_battleResult.drop, 1,function()
|
||||||
if m_callBack then m_callBack() end
|
if m_callBack then m_callBack() end
|
||||||
|
--内容优化 心魔试炼推送
|
||||||
|
Game.GlobalEvent:DispatchEvent(GameEvent.PatFace.PatFaceSend,FacePanelType.MonsterWave)
|
||||||
end, nil, not m_notShowRecord)
|
end, nil, not m_notShowRecord)
|
||||||
elseif m_fightType == 6 then -- 新关卡的战斗
|
elseif m_fightType == 6 then -- 新关卡的战斗
|
||||||
FightPointPassManager.FightBattleEnd()
|
FightPointPassManager.FightBattleEnd()
|
||||||
|
|
|
||||||
|
|
@ -58,9 +58,13 @@ end
|
||||||
--绑定事件(用于子类重写)
|
--绑定事件(用于子类重写)
|
||||||
function SingleRecruitPanel:BindEvent()
|
function SingleRecruitPanel:BindEvent()
|
||||||
Util.AddClick(self.sureBtn, function()
|
Util.AddClick(self.sureBtn, function()
|
||||||
isFirst=true
|
-- isFirst=true
|
||||||
self:ClosePanel()
|
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()
|
Util.AddClick(self.againBtn, function()
|
||||||
local d=RecruitManager.GetExpendData(type)
|
local d=RecruitManager.GetExpendData(type)
|
||||||
if BagManager.GetItemCountById(d[1])<d[2] then
|
if BagManager.GetItemCountById(d[1])<d[2] then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue