【森罗幻境】进入森罗幻境后直接关闭选择神将弹窗,会在离开幻境前闪过一个统计弹窗 修复
parent
fc8f74cd3a
commit
2fed5ddb45
|
|
@ -61,7 +61,7 @@ function MapLeavePanel:BindEvent()
|
|||
end)
|
||||
|
||||
Util.AddClick(this.btnEnd, function()
|
||||
UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
-- UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
--PlayUIAnimBack(this.frame, function ()
|
||||
-- PlayUIAnimBack(this.starRoot, function ()
|
||||
self:ClosePanel()
|
||||
|
|
|
|||
|
|
@ -507,16 +507,16 @@ function this.RefreshTriggerListen(id, openType, openArgs)
|
|||
end
|
||||
end
|
||||
Game.GlobalEvent:AddEvent(GameEvent.Guide.MapInit, trigger)
|
||||
elseif openType == 22 then
|
||||
--监听副本结算界面
|
||||
local trigger
|
||||
trigger = function(panelType)
|
||||
if panelType == UIName.MapStatsPanel then
|
||||
Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnOpen, trigger)
|
||||
this.ShowGuide(id)
|
||||
end
|
||||
end
|
||||
Game.GlobalEvent:AddEvent(GameEvent.UI.OnOpen, trigger)
|
||||
-- elseif openType == 22 then
|
||||
-- --监听副本结算界面
|
||||
-- local trigger
|
||||
-- trigger = function(panelType)
|
||||
-- if panelType == UIName.MapStatsPanel then
|
||||
-- Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnOpen, trigger)
|
||||
-- this.ShowGuide(id)
|
||||
-- end
|
||||
-- end
|
||||
-- Game.GlobalEvent:AddEvent(GameEvent.UI.OnOpen, trigger)
|
||||
elseif openType == 23 then
|
||||
--监听副本界面
|
||||
local trigger
|
||||
|
|
|
|||
|
|
@ -434,7 +434,7 @@ function this.UpdateMapProgressData(_type, _data, _num, _isSend)
|
|||
--if not UIManager.IsOpen(UIName.MissionRewardPanel) then
|
||||
this.progressFull = true
|
||||
if not UIManager.IsOpen(UIName.RewardItemPopup) then
|
||||
UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
-- UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
end
|
||||
else
|
||||
this.progressFull = false
|
||||
|
|
@ -570,7 +570,7 @@ function this.VictoryHandler(result, callBack)
|
|||
-- 试炼副本最后一层
|
||||
if MapTrialManager.IsFinalLevel() then
|
||||
this.PanelCloseCallBack(UIName.MapOptionPanel, function ()
|
||||
UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
-- UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
end)
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ function this:OnOpen(...)
|
|||
-- 副本相关的初始化设置
|
||||
this.InitCarbonSet()
|
||||
-- 如果100%,弹出离开界面
|
||||
this.ExploreInitSet()
|
||||
-- this.ExploreInitSet()
|
||||
this.InitrightUpBtn()
|
||||
---- 刷新被主角狗眼糟蹋过的点
|
||||
EndLessMapManager.isOpenedFullPanel = false
|
||||
|
|
@ -251,16 +251,16 @@ function this.SetMapFog()
|
|||
end
|
||||
|
||||
-- 有探索度地图的初始化
|
||||
function this.ExploreInitSet()
|
||||
--首先他得有探索度
|
||||
local curMapId = MapManager.curMapId
|
||||
if DifficultyData[curMapId] and DifficultyData[curMapId].IsExplore == 1 then
|
||||
local isPass = CarbonManager.ExplorationDone()
|
||||
if isPass then
|
||||
UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
end
|
||||
end
|
||||
end
|
||||
-- function this.ExploreInitSet()
|
||||
-- --首先他得有探索度
|
||||
-- local curMapId = MapManager.curMapId
|
||||
-- if DifficultyData[curMapId] and DifficultyData[curMapId].IsExplore == 1 then
|
||||
-- local isPass = CarbonManager.ExplorationDone()
|
||||
-- if isPass then
|
||||
-- UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
-- end
|
||||
-- end
|
||||
-- end
|
||||
|
||||
function this.InitCarbonSet()
|
||||
-- 面板遮罩
|
||||
|
|
|
|||
|
|
@ -457,9 +457,9 @@ function this.NormalShowTime(time)
|
|||
end
|
||||
|
||||
end
|
||||
if not UIManager.IsOpen(UIName.MapStatsPanel) then
|
||||
UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
end
|
||||
-- if not UIManager.IsOpen(UIName.MapStatsPanel) then
|
||||
-- UIManager.OpenPanel(UIName.MapStatsPanel)
|
||||
-- end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue