聊天修改

tcx_xiyou_bt_ios
PC-202302260912\Administrator 2024-05-15 15:33:33 +08:00
parent e24928c30e
commit f3c5162028
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()>=30 and chanel and chanel=="ZZXX" and FightPointPassManager.IsFightPointPass(2011) then
if VipManager.GetChargedNum()>=30 and chanel and chanel=="ZZXX" or FightPointPassManager.soldierLayerId>200 then
this.input:SetActive(true)
this.noInputTip:SetActive(false)
--其他渠道及本地
elseif VipManager.GetChargedNum()>=10 then
elseif VipManager.GetChargedNum()>=10 or FightPointPassManager.soldierLayerId>20 then
this.input:SetActive(true)
this.noInputTip:SetActive(false)
else
this.input:SetActive(false)
this.noInputTip:SetActive(true)
if chanel and chanel=="ZZXX" then
this.noInputTip:GetComponent("Text").text = "真实累充30元并通关BOSS简单2-1才可发言"
this.noInputTip:GetComponent("Text").text = "真实累充30元或通关200关可发言"
else
this.noInputTip:GetComponent("Text").text = "真实累值10元可发言"
this.noInputTip:GetComponent("Text").text = "真实累值10元或通关20关可发言"
end
end