副本快结束啦!

dev_chengFeng
ZhangBiao 2020-08-19 20:57:04 +08:00
parent f9ffc1aa39
commit f93c57fd31
4 changed files with 9 additions and 1 deletions

View File

@ -312,6 +312,7 @@ function this.UpdateWarFog(u, v, fogSize)
end
end, delayTime):Start()
LogRed("这里是干什么的")
-- 不显示迷雾直接刷新
if not this.isShowFog then
if _tileLivePool[pos] then

View File

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

View File

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

View File

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