diff --git a/Assets/ManagedResources/~Lua/Modules/Map/Logic/TileMapView.lua b/Assets/ManagedResources/~Lua/Modules/Map/Logic/TileMapView.lua index 598c7b1e3e..6ca5d365bb 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/Logic/TileMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/Logic/TileMapView.lua @@ -312,6 +312,7 @@ function this.UpdateWarFog(u, v, fogSize) end end, delayTime):Start() + LogRed("这里是干什么的") -- 不显示迷雾直接刷新 if not this.isShowFog then if _tileLivePool[pos] then diff --git a/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua b/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua index 63e4397619..d96c13f456 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/MapPanel.lua @@ -41,6 +41,8 @@ function this:InitComponent() this.btnNode=Util.GetGameObject(self.gameObject,"rightDown/btnNote") this.item = Util.GetGameObject(self.gameObject, "item") + this.selectHero = Util.GetGameObject(self.gameObject, "centerDown/selectHero") + this.selectHero:SetActive(false) -- buff显示 @@ -247,8 +249,10 @@ end ---==================== 地图初始化处理部分 ================================== function this.SetMapFog() + local mapId = MapManager.curMapId local fogVal = ChallengeMapConfig[mapId].isShowFog + LogPink("地图初始化迷雾"..tostring(fogVal)) if fogVal and fogVal == 0 then TileMapView.isShowFog = false else diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua index 0d3f4d9e0a..226150d5f4 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/EndLessMapView.lua @@ -143,6 +143,8 @@ function this.OnOpen() this.InitCostValue() this.RefreshEnergyValue(true, 0) this.RefreshEnergyShow() + Util.GetGameObject(MapPanel.gameObject, "centerDown/selectHero"):SetActive(false) + this.helpBtn:SetActive(false) -- 检测引导 GuideManager.CheckCarbonGuild(CARBON_TYPE.ENDLESS) @@ -169,7 +171,6 @@ function this.OnShow() pointView.RefreshAtkShow() end - EndLessMapManager.openedFormat = false this.isPanelClose = false diff --git a/Assets/ManagedResources/~Lua/Modules/Map/View/PointHandleView.lua b/Assets/ManagedResources/~Lua/Modules/Map/View/PointHandleView.lua index ebb8bfe5ed..83f61c5c0e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Map/View/PointHandleView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Map/View/PointHandleView.lua @@ -380,7 +380,9 @@ end -- 刷新走过的路径中出现的点 function this.ShowSawPoints() + if CarbonManager.difficulty ~= CARBON_TYPE.ENDLESS then return end + LogYellow("#MapManager.wakeCells"..#MapManager.wakeCells) if #MapManager.wakeCells == 0 then Log(Language[11322]) return end for pos, point in pairs(this.EventPoint) do local u0, v0 = Map_Pos2UV(pos)