聊天修改
parent
e24928c30e
commit
f3c5162028
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue