副本快结束啦!
parent
f9ffc1aa39
commit
f93c57fd31
|
@ -312,6 +312,7 @@ function this.UpdateWarFog(u, v, fogSize)
|
||||||
end
|
end
|
||||||
end, delayTime):Start()
|
end, delayTime):Start()
|
||||||
|
|
||||||
|
LogRed("这里是干什么的")
|
||||||
-- 不显示迷雾直接刷新
|
-- 不显示迷雾直接刷新
|
||||||
if not this.isShowFog then
|
if not this.isShowFog then
|
||||||
if _tileLivePool[pos] then
|
if _tileLivePool[pos] then
|
||||||
|
|
|
@ -41,6 +41,8 @@ function this:InitComponent()
|
||||||
this.btnNode=Util.GetGameObject(self.gameObject,"rightDown/btnNote")
|
this.btnNode=Util.GetGameObject(self.gameObject,"rightDown/btnNote")
|
||||||
|
|
||||||
this.item = Util.GetGameObject(self.gameObject, "item")
|
this.item = Util.GetGameObject(self.gameObject, "item")
|
||||||
|
this.selectHero = Util.GetGameObject(self.gameObject, "centerDown/selectHero")
|
||||||
|
this.selectHero:SetActive(false)
|
||||||
|
|
||||||
|
|
||||||
-- buff显示
|
-- buff显示
|
||||||
|
@ -247,8 +249,10 @@ end
|
||||||
---==================== 地图初始化处理部分 ==================================
|
---==================== 地图初始化处理部分 ==================================
|
||||||
|
|
||||||
function this.SetMapFog()
|
function this.SetMapFog()
|
||||||
|
|
||||||
local mapId = MapManager.curMapId
|
local mapId = MapManager.curMapId
|
||||||
local fogVal = ChallengeMapConfig[mapId].isShowFog
|
local fogVal = ChallengeMapConfig[mapId].isShowFog
|
||||||
|
LogPink("地图初始化迷雾"..tostring(fogVal))
|
||||||
if fogVal and fogVal == 0 then
|
if fogVal and fogVal == 0 then
|
||||||
TileMapView.isShowFog = false
|
TileMapView.isShowFog = false
|
||||||
else
|
else
|
||||||
|
|
|
@ -143,6 +143,8 @@ function this.OnOpen()
|
||||||
this.InitCostValue()
|
this.InitCostValue()
|
||||||
this.RefreshEnergyValue(true, 0)
|
this.RefreshEnergyValue(true, 0)
|
||||||
this.RefreshEnergyShow()
|
this.RefreshEnergyShow()
|
||||||
|
Util.GetGameObject(MapPanel.gameObject, "centerDown/selectHero"):SetActive(false)
|
||||||
|
this.helpBtn:SetActive(false)
|
||||||
|
|
||||||
-- 检测引导
|
-- 检测引导
|
||||||
GuideManager.CheckCarbonGuild(CARBON_TYPE.ENDLESS)
|
GuideManager.CheckCarbonGuild(CARBON_TYPE.ENDLESS)
|
||||||
|
@ -169,7 +171,6 @@ function this.OnShow()
|
||||||
pointView.RefreshAtkShow()
|
pointView.RefreshAtkShow()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
EndLessMapManager.openedFormat = false
|
EndLessMapManager.openedFormat = false
|
||||||
|
|
||||||
this.isPanelClose = false
|
this.isPanelClose = false
|
||||||
|
|
|
@ -380,7 +380,9 @@ end
|
||||||
|
|
||||||
-- 刷新走过的路径中出现的点
|
-- 刷新走过的路径中出现的点
|
||||||
function this.ShowSawPoints()
|
function this.ShowSawPoints()
|
||||||
|
|
||||||
if CarbonManager.difficulty ~= CARBON_TYPE.ENDLESS then return end
|
if CarbonManager.difficulty ~= CARBON_TYPE.ENDLESS then return end
|
||||||
|
LogYellow("#MapManager.wakeCells"..#MapManager.wakeCells)
|
||||||
if #MapManager.wakeCells == 0 then Log(Language[11322]) return end
|
if #MapManager.wakeCells == 0 then Log(Language[11322]) return end
|
||||||
for pos, point in pairs(this.EventPoint) do
|
for pos, point in pairs(this.EventPoint) do
|
||||||
local u0, v0 = Map_Pos2UV(pos)
|
local u0, v0 = Map_Pos2UV(pos)
|
||||||
|
|
Loading…
Reference in New Issue