From 8a90b87942a06e74656a6454d496dfad6cf816e8 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Fri, 23 Jul 2021 17:43:30 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=89=AF=E6=9C=AC=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E3=80=91=E5=BF=83=E9=AD=94=E6=AC=A1=E6=95=B0=E6=96=87?= =?UTF-8?q?=E5=AD=97=E9=94=99=E8=AF=AF=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=92=8C?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua | 10 +--------- .../~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua | 3 +-- .../~Lua/Modules/Popup/BattleFailPopup.lua | 1 + 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua b/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua index 0357931a95..cda5313d09 100644 --- a/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Carbon/NewCarbon/CarbonsPanel.lua @@ -199,7 +199,7 @@ function CarbonsPanel:TipShow(_go,_value) if _value.id == FUNCTION_OPEN_TYPE.MONSTER_COMING then freetimes:SetActive(true) buytimes:SetActive(true) - freetimesText.text = string.format("免费挑战次数:%s",MonsterCampManager.GetCanBattleCount()) + freetimesText.text = string.format("免费扫荡次数:%s",MonsterCampManager.GetCanBattleCount()) buytimesText.text = string.format("剩余购买次数:%s",MonsterCampManager.GetCanBuyBattleCount()) elseif _value.id == FUNCTION_OPEN_TYPE.PEOPLE_MIRROR then freetimes:SetActive(true) @@ -210,8 +210,6 @@ function CarbonsPanel:TipShow(_go,_value) elseif _value.id == FUNCTION_OPEN_TYPE.EXPEDITION then freetimes:SetActive(true) buytimes:SetActive(false) - LogGreen("ExpeditionManager.GetCurNodeInfo().lay:"..tostring(ExpeditionManager.GetCurNodeInfo().lay)) - LogGreen("ExpeditionManager.expeditionLeve:"..tostring(ExpeditionManager.expeditionLeve)) local free = ExpeditionManager.GetCurNodeInfo().lay-1+(expeditionLevel[ExpeditionManager.expeditionLeve]-1)*10 local num = free <= 30 and free or 30 freetimesText.text = string.format("进度:%s/%s",num,30) @@ -230,12 +228,6 @@ function CarbonsPanel:TipShow(_go,_value) self.timeList[_value.id].TextObj = timeText self.timeList[_value.id].Text = "剩余时间:" self.timeList[_value.id].time = ActTimeCtrlManager.GetSerDataByTypeId(_value.id).endTime - GetTimeStamp() - -- elseif _value.id == FUNCTION_OPEN_TYPE.TRIAL then--森罗幻境 - -- time:SetActive(true) - -- self.timeList[_value.id] = {} - -- self.timeList[_value.id].TextObj = timeText - -- self.timeList[_value.id].Text = "剩余时间:" - -- self.timeList[_value.id].time = ActTimeCtrlManager.GetSerDataByTypeId(FUNCTION_OPEN_TYPE.TRIAL).endTime - GetTimeStamp() end if self.timeList[_value.id] then timeText.text = string.format("%s%s",self.timeList[_value.id].Text,TimeToFelaxible(self.timeList[_value.id].time)) diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua index cc97365d87..f451b61d86 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua @@ -164,10 +164,9 @@ function this.QuickStartMonsterFightRequest() } BattleManager.SetLastBattleResult(this.lastBattleResult,BATTLE_TYPE.MONSTER_CAMP) if msg.result == 0 then - UIManager.OpenPanel(UIName.BattleFailPopup, nil, true, UIName.MonsterCampNewPanel) + UIManager.OpenPanel(UIName.BattleFailPopup, nil, true, UIName.MonsterCampNewPanel,BATTLE_TYPE.MONSTER_CAMP) isClick = false else - Timer.New(function () isClick = false end,1):Start() diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua index a09721ac57..3f96232fc5 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/BattleFailPopup.lua @@ -123,6 +123,7 @@ function this:LoseJump(id) end end function this.ClosePanelRefreshData() + LogRed("fightType:"..tostring(fightType)) if fightType then if fightType == BATTLE_TYPE.EXECUTE_FIGHT then--远征 this.ShowBattleResultByExpedition()