罗浮争锋挑战限制修改

dev_chengFeng
wangzhenxing 2023-01-16 11:28:30 +08:00
parent a3a8277390
commit db0da7a0d6
1 changed files with 4 additions and 3 deletions

View File

@ -149,7 +149,7 @@ function this.OnShowPanel()
local timeStr = ""
LogPink("stage "..stage)
this.canPlayerTipText.transform.localPosition = Vector3.New(1.3, 46.5, 0)
this.canPlayerTipText:GetComponent("Text").text = "本服千战逐胜台前"..JoinRank.."名可以参加"
this.canPlayerTipText:GetComponent("Text").text =""-- "本服千战逐胜台前"..JoinRank.."名可以参加"
timeStr = "后开始"
--1 未开始 2 战斗阶段 3 膜拜阶段
if stage == JumpServer_Stage.NoStar then
@ -170,7 +170,7 @@ function this.OnShowPanel()
timeStr = "后开始"
if enterable then
if GetTimeStampCorrespondingWeekNum(GetTimeStamp()) >= 2 and GetTimeStampCorrespondingWeekNum(GetTimeStamp()) < 3 then--优化战斗阶段结束后的下个周二零点后本服竞技场重置不再显示上期排名和邮件提示改为显示本服千战逐胜台前100名可参加
this.canPlayerTipText:GetComponent("Text").text = "本服千战逐胜台前"..JoinRank.."名可以参加"
this.canPlayerTipText:GetComponent("Text").text ="" --"本服千战逐胜台前"..JoinRank.."名可以参加"
else
this.canPlayerTipText.transform.localPosition = Vector3.New(1.3,11.85, 0)
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)
Util.AddOnceClick(sdBtn,function()
if not enterable then
PopupTipPanel.ShowTip("本服千战逐胜台前"..JoinRank.."名可以参加")
--PopupTipPanel.ShowTip("本服千战逐胜台前"..JoinRank.."名可以参加")
PopupTipPanel.ShowTip("条件不足,无法参战")
return
end
this.BuyVipFun(1,1,function()