xiyou_sanguo
zhangjiannan 2025-12-25 21:10:11 +08:00
parent 240712fb15
commit 033c0c6384
2 changed files with 4 additions and 5 deletions

View File

@ -237,7 +237,6 @@ function GodsWayTowerPanel:OnShow()
this.becomeAGodText.gameObject:SetActive(false)
else
curId = 0
curFloor = 0
this.becomeAGodText1.gameObject:SetActive(false)
this.becomeAGodText.gameObject:SetActive(true)
local curDay = math.ceil((CalculateSecondsNowTo_N_OClock(0) + GetTimeStamp() - PlayerManager.userCreateTime) /
@ -247,7 +246,7 @@ function GodsWayTowerPanel:OnShow()
this.becomeAGodText.text = "当前可挑战层数上限" .. floorLimit .. "功能开启后每天解锁20层挑战上限"
end
this.btnHelpFightObj:SetActive(curId ~= 0)
this.moppingUpBtn:SetActive(curFloor ~= 0)
this.moppingUpBtn:SetActive(curFloor ~= 0 and curType ~= 3)
storeDataId, itemId, costNum = GodsWayTowerManager.GetCost(curType)
if curType == 1 then
this.titleText.text = Language[11635]

View File

@ -8,7 +8,7 @@ end
function this.Init(msg)
local infos = msg.info
LogError("================多队塔试炼:"..#infos)
--LogError("================多队塔试炼:"..#infos)
for i = 1, #infos do
local config = ConfigManager.GetConfigData(ConfigName.DuoDuiTowerConfig, infos[i].type)
local needFloor
@ -17,7 +17,7 @@ function this.Init(msg)
else
needFloor = infos[i].tier
end
LogError("================多队塔试炼:"..needFloor)
--LogError("================多队塔试炼:"..needFloor)
towerInfos[i] = {
time = infos[i].time,
type = infos[i].type,
@ -59,7 +59,7 @@ function this.GetCurrFloorRewardByType(_type)
if floor <= 0 then
floor = 1
end
LogError("floor======" .. floor)
--LogError("floor======" .. floor)
local config = ConfigManager.TryGetConfigDataByDoubleKey(ConfigName.DuoDuiTower, "Type", _type, "TowerNumber", floor)
if config then
return config.Income