【七界试炼】提交
parent
482d5371ee
commit
bdbd63cc95
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9af00bfeb93be3f46933d603b338874e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0a8158bab0342a74b86087825f71dfbc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c566372c81024d34a946d55eab51e73c
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
|
@ -168,61 +168,42 @@ function this:OnSortingOrderChange()
|
|||
end
|
||||
|
||||
function this.SystemState(id,fun)
|
||||
local func = function ()
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
end
|
||||
if id == JumpServer_Type.HightLadder then
|
||||
if not ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) then
|
||||
state = -1
|
||||
tipStr = ActTimeCtrlManager.GetFuncTip( FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
end
|
||||
local conFigWorldLevel = ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,1).WorldLevel
|
||||
if PlayerManager.worldLeve < conFigWorldLevel then --如果世界等级不足
|
||||
state = -2
|
||||
tipStr = string.format("世界等级到达%s后开启!",conFigWorldLevel)
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
func()
|
||||
end
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) == false then --如果未解锁
|
||||
state = -3
|
||||
tipStr = "赛季过渡中!"
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
func()
|
||||
end
|
||||
|
||||
JumpServerManager.GetWorldArenaInfoRequest(function()
|
||||
if not JumpServerManager.GetHightLadderDataIsStart() then
|
||||
state = -4
|
||||
tipStr = string.format("开服第%s周开放!",ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,1).OpenWeek)
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
func()
|
||||
elseif not JumpServerManager.GetHightLadderDataIsGroup() then
|
||||
state = -5
|
||||
tipStr = "未划分跨服分组,无法参与!"
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
func()
|
||||
else
|
||||
state = 1
|
||||
tipStr = ""
|
||||
if fun then
|
||||
fun()
|
||||
fun = nil
|
||||
end
|
||||
return
|
||||
func()
|
||||
end
|
||||
end)
|
||||
else
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 66f81fc489f5cb240b0a963d816d4397
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue