多队塔排行榜显示修改提交
parent
e45c2bcae1
commit
614ec0b6e1
|
@ -2842,7 +2842,7 @@ function CheckFunctionOpen(_funId)
|
|||
return false
|
||||
elseif openRule[1] == 4 and not OperatingManager.IsBuyGift(openRule[2]) then
|
||||
return false
|
||||
elseif openRule[1] == 5 and GodsWayTowerManager.GetTowerFloorByType(1)>= openRule[2] then
|
||||
elseif openRule[1] == 5 and GodsWayTowerManager.GetTowerFloorByType(1) < openRule[2] then
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
|
@ -8,7 +8,6 @@ function GodsWayListPanel:InitComponent()
|
|||
-- 屏幕适配修改
|
||||
for i = 1, 2 do
|
||||
local item = Util.GetGameObject(self.gameObject, "circle/otherBtn"..i)
|
||||
LogError("aaaaaaaaaaaaaaaaaaaaaaaaaa")
|
||||
--self.itemList[i]=item
|
||||
table.insert(self.itemList,item)
|
||||
end
|
||||
|
@ -74,6 +73,12 @@ function GodsWayListPanel:OnShow(...)
|
|||
if isOpen then
|
||||
UIManager.OpenPanel(UIName.GodsWayTowerPanel,i)
|
||||
self:ClosePanel()
|
||||
else
|
||||
if i==1 then
|
||||
--PopupTipPanel.ShowTip(Language[11330])
|
||||
else
|
||||
PopupTipPanel.ShowTip("需二队塔通关100层后开启")
|
||||
end
|
||||
end
|
||||
|
||||
end)
|
||||
|
|
|
@ -641,6 +641,13 @@ function this.SetInfoShow(go,data,rankType,Value0)
|
|||
arenaScore:SetActive(true)
|
||||
local score = data.rankInfo.param1 >= 0 and data.rankInfo.param1 or 0
|
||||
arenaScore:GetComponent("Text").text = "探索杀敌数: ".. score
|
||||
elseif rankType==RANK_TYPE.GodsWayTower then
|
||||
trial:SetActive(true)
|
||||
if Value0 then
|
||||
Value0:GetComponent("Text").text = "<size=40%>"..data.userName.."</size>"
|
||||
end
|
||||
Util.GetGameObject(go,"trial/Text"):SetActive(false)
|
||||
Util.GetGameObject(go,"trial/tip"):GetComponent("Text").text = Language[11689].. data.rankInfo.param1
|
||||
end
|
||||
end
|
||||
return RankingSingleListPanel
|
||||
|
|
|
@ -30,9 +30,14 @@ function this.GetTowerDataByType(_type)
|
|||
if floor<0 then
|
||||
floor=0
|
||||
end
|
||||
if floor>=300-10 then
|
||||
floor=300-10
|
||||
end
|
||||
for i = floor+1, floor+10 do
|
||||
local data=this.GetFourMonsterInfoByWave(_type,i)
|
||||
table.insert(towerList,data)
|
||||
if data then
|
||||
table.insert(towerList,data)
|
||||
end
|
||||
end
|
||||
return towerList
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue