【跨服天梯】修改

zhangqiang 2020-12-18 10:57:29 +08:00
parent 9b83785b6d
commit 004c56ce90
5 changed files with 20 additions and 17 deletions

View File

@ -1403,8 +1403,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33}
m_AnchoredPosition: {x: 255.7, y: 1.9}
m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8627966088746689758
CanvasRenderer:
@ -4851,8 +4851,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33}
m_AnchoredPosition: {x: 255.70001, y: 1.9}
m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1780904953495839689
CanvasRenderer:
@ -5373,8 +5373,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33}
m_AnchoredPosition: {x: 255.70001, y: 1.9}
m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2151655759273255593
CanvasRenderer:
@ -9086,8 +9086,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33}
m_AnchoredPosition: {x: 255.70001, y: 1.9}
m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7174524862990147623
CanvasRenderer:

View File

@ -1312,7 +1312,8 @@ FUNCTION_OPEN_TYPE = {
POKEMON=79,--灵兽山
XiaoYaoYou = 80, -- 逍遥游
RoleAwake = 81, -- 神将觉醒
JumpServer = 82, -- 跨服玩法
JumpServer_HightLadder = 82, -- 跨服天梯玩法
JumpServer = 85, -- 跨服玩法
}
TaskGetBtnIconDef = {

View File

@ -56,7 +56,7 @@ function JumpServerHightLadderPanel:BindEvent()
UIManager.OpenPanel(UIName.RankingSingleListPanel,rankKingList[15])
end)
Util.AddClick(this.rewardSortBtn,function()
UIManager.OpenPanel(UIName.JumpServerHightLadderRewardSortPanel,FUNCTION_OPEN_TYPE.JumpServer)
UIManager.OpenPanel(UIName.JumpServerHightLadderRewardSortPanel,FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
end)
Util.AddClick(this.recordBtn,function()
UIManager.OpenPanel(UIName.JumpServerHightLadderRecordPopup)
@ -65,7 +65,7 @@ function JumpServerHightLadderPanel:BindEvent()
JumpManager.GoJump(3005)
end)
Util.AddClick(this.formationBtn,function()
-- if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer) then
-- if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) then
-- PopupTipPanel.ShowTip(Language[10082])
-- return
-- end

View File

@ -172,23 +172,25 @@ function this.CheckJumpServerhightLadderMainCityRedPoint()
end
--剩余免费挑战次数红点
function this.JumpServerHightLadderMianFeiNumRedPoint()
local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer)
local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
if not isOpen then
return false
end
if not this.GetHightLadderDataEnterable() then
return false
end
if this.GetCanBattleCount() > 0 then
LogPink("跨服天梯剩余免费挑战次数红点true")
return true
if stage == 2 then
if this.GetCanBattleCount() > 0 then
LogPink("跨服天梯剩余免费挑战次数红点true")
return true
end
end
LogPink("跨服天梯剩余免费挑战次数红点false")
return false
end
--跨服天梯可以膜拜红点
function this.JumpServerHightLadderWorshipRedPoint()
local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer)
local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
if not isOpen then
return false
end

View File

@ -147,7 +147,7 @@ end
function this.BtnClick(id)
if id == JumpServer_Type.HightLadder then
if ActTimeCtrlManager.SingleFuncState(id) == false then --如果未解锁
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) == false then --如果未解锁
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(JumpServer_Type.HightLadder))
return
end