.进入无尽副本上阵阵容之后推出副本,在挑战关卡、神将-编队无法上三星及以下英雄(不显示)

dev_chengFeng
ZhangBiao 2020-12-29 10:24:50 +08:00 committed by zhangqiang
parent d86c2dc822
commit 927aa7053b
2 changed files with 13 additions and 23 deletions

View File

@ -60,8 +60,7 @@ function EndLessCarbonPanel:BindEvent()
CallBackOnPanelOpen(UIName.CarbonTypePanelV2, function()
UIManager.ClosePanel(UIName.EndLessCarbonPanel)
end)
CarbonManager.difficulty = 0
end)
Util.AddClick(this.btnFight, function ()

View File

@ -500,27 +500,18 @@ end
function this.OnMapOut(outType)
--出图不需要发协议了
Log("outType ====== " .. outType)
-- Log("outType ====== " .. outType)
-- 无尽副本需要传目的地的地图ID
-- local distMapId = 0
-- if CarbonManager.difficulty == CARBON_TYPE.ENDLESS and nextMapId > 0 then
-- distMapId = nextMapId
-- end
-- NetManager.MapOutRequest(outType, function (msg)
if outType == 0 then
this.BackHome()
MapManager.Mapping = false
-- elseif outType == 1 then -- 正常出图
-- this.BackToCarbonPanel()
-- MapManager.Mapping = false
else --换层或者换地图
this.ChangeMapByType()
end
Game.GlobalEvent:DispatchEvent(GameEvent.Event.PointTriggerEnd)
-- end, distMapId)
if outType == 0 then
CarbonManager.difficulty = 0
this.BackHome()
MapManager.Mapping = false
else --换层或者换地图
-- 音效
SoundManager.PlaySound(SoundConfig.Sound_xyc)
this.ChangeMapByType()
end
Game.GlobalEvent:DispatchEvent(GameEvent.Event.PointTriggerEnd)
end
-- ========================= 死出图的各种方法 ==========================
@ -535,7 +526,7 @@ function this.BackHome()
this.Dispose()
Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnClose, triggerCallBack)
end
BagManager.InBagGetMapBag()
-- BagManager.InBagGetMapBag()
end
Game.GlobalEvent:AddEvent(GameEvent.UI.OnClose, triggerCallBack)
-- 清空一下副本任务