挂机修改提交
parent
c7f4c57585
commit
20cf3f88a9
|
@ -110,7 +110,7 @@ function this:Init()
|
|||
if not this.playerViews[0] then
|
||||
--LogGreen(m_curMapId)
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.guajigongneng) then
|
||||
iconNum = 15
|
||||
iconNum = 20
|
||||
local randomNum = 8--math.random(2,3)
|
||||
PlayerManager.GetFightMapPlayerNPCData(randomNum,function(NPCList)
|
||||
--LogGreen("NPCList:"..LengthOfTable(NPCList))
|
||||
|
@ -125,8 +125,9 @@ function this:Init()
|
|||
index = index + 1
|
||||
end
|
||||
end)
|
||||
end
|
||||
iconNum = 4
|
||||
else
|
||||
iconNum = 4
|
||||
end
|
||||
this.playerViews[0] = SubUIManager.Open(SubUIConfig.SingleFightPlayerView,this.mapRoot.transform,this)
|
||||
this.playerViews[0]:SetData(startUV[m_curMapId].u,startUV[m_curMapId].v,true)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue