罗浮争锋挑战限制修改
parent
a3a8277390
commit
db0da7a0d6
|
@ -149,7 +149,7 @@ function this.OnShowPanel()
|
||||||
local timeStr = ""
|
local timeStr = ""
|
||||||
LogPink("stage "..stage)
|
LogPink("stage "..stage)
|
||||||
this.canPlayerTipText.transform.localPosition = Vector3.New(1.3, 46.5, 0)
|
this.canPlayerTipText.transform.localPosition = Vector3.New(1.3, 46.5, 0)
|
||||||
this.canPlayerTipText:GetComponent("Text").text = "本服千战逐胜台前"..JoinRank.."名可以参加"
|
this.canPlayerTipText:GetComponent("Text").text =""-- "本服千战逐胜台前"..JoinRank.."名可以参加"
|
||||||
timeStr = "后开始"
|
timeStr = "后开始"
|
||||||
--1 未开始 2 战斗阶段 3 膜拜阶段
|
--1 未开始 2 战斗阶段 3 膜拜阶段
|
||||||
if stage == JumpServer_Stage.NoStar then
|
if stage == JumpServer_Stage.NoStar then
|
||||||
|
@ -170,7 +170,7 @@ function this.OnShowPanel()
|
||||||
timeStr = "后开始"
|
timeStr = "后开始"
|
||||||
if enterable then
|
if enterable then
|
||||||
if GetTimeStampCorrespondingWeekNum(GetTimeStamp()) >= 2 and GetTimeStampCorrespondingWeekNum(GetTimeStamp()) < 3 then--优化,战斗阶段结束后的下个周二零点后(本服竞技场重置),不再显示上期排名和邮件提示,改为显示:本服千战逐胜台前100名可参加
|
if GetTimeStampCorrespondingWeekNum(GetTimeStamp()) >= 2 and GetTimeStampCorrespondingWeekNum(GetTimeStamp()) < 3 then--优化,战斗阶段结束后的下个周二零点后(本服竞技场重置),不再显示上期排名和邮件提示,改为显示:本服千战逐胜台前100名可参加
|
||||||
this.canPlayerTipText:GetComponent("Text").text = "本服千战逐胜台前"..JoinRank.."名可以参加"
|
this.canPlayerTipText:GetComponent("Text").text ="" --"本服千战逐胜台前"..JoinRank.."名可以参加"
|
||||||
else
|
else
|
||||||
this.canPlayerTipText.transform.localPosition = Vector3.New(1.3,11.85, 0)
|
this.canPlayerTipText.transform.localPosition = Vector3.New(1.3,11.85, 0)
|
||||||
local myRank = JumpServerManager.GetHightLadderDataMyRank() <= 1000 and JumpServerManager.GetHightLadderDataMyRank() or "1000+"
|
local myRank = JumpServerManager.GetHightLadderDataMyRank() <= 1000 and JumpServerManager.GetHightLadderDataMyRank() or "1000+"
|
||||||
|
@ -234,7 +234,8 @@ function this.ShowSingleData(go,data,i)
|
||||||
sdBtnRedPoint:SetActive(JumpServerManager.GetCanBattleCount() > 0 and enterable)
|
sdBtnRedPoint:SetActive(JumpServerManager.GetCanBattleCount() > 0 and enterable)
|
||||||
Util.AddOnceClick(sdBtn,function()
|
Util.AddOnceClick(sdBtn,function()
|
||||||
if not enterable then
|
if not enterable then
|
||||||
PopupTipPanel.ShowTip("本服千战逐胜台前"..JoinRank.."名可以参加")
|
--PopupTipPanel.ShowTip("本服千战逐胜台前"..JoinRank.."名可以参加")
|
||||||
|
PopupTipPanel.ShowTip("条件不足,无法参战")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
this.BuyVipFun(1,1,function()
|
this.BuyVipFun(1,1,function()
|
||||||
|
|
Loading…
Reference in New Issue