聊天关卡限制

TCX_dev_zeroFive_online
DESKTOP-MMO982B\User 2024-09-13 16:31:42 +08:00
parent 8033d7f27d
commit 41b9a2b970
1 changed files with 4 additions and 4 deletions

View File

@ -218,20 +218,20 @@ function this.OnTabChange(index, lastIndex)
LogError("VipManager.GetChargedNum()=="..VipManager.GetChargedNum())
--ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.CHAT)
--xiao7 渠道
if VipManager.GetChargedNum()>=10000 and chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )or FightPointPassManager.IsFightPointPass(15151) then
if VipManager.GetChargedNum()>=0 and chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )and FightPointPassManager.IsFightPointPass(15151) then
this.input:SetActive(true)
this.noInputTip:SetActive(false)
--其他渠道及本地
elseif VipManager.GetChargedNum()>=10000 or FightPointPassManager.IsFightPointPass(15151) then
elseif VipManager.GetChargedNum()>=0 and FightPointPassManager.IsFightPointPass(15151) then
this.input:SetActive(true)
this.noInputTip:SetActive(false)
else
this.input:SetActive(false)
this.noInputTip:SetActive(true)
if chanel and (chanel=="ZZXX" or chanel=="ZZXXXQ" )then
this.noInputTip:GetComponent("Text").text = "累计真实充值100元 或 通关15-15副本才可发言"
this.noInputTip:GetComponent("Text").text = "通关15-15副本才可发言"
else
this.noInputTip:GetComponent("Text").text = "累计真实充值100元 或 通关15-15副本才可发言"
this.noInputTip:GetComponent("Text").text = "通关15-15副本才可发言"
end
end