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