From c8aa6b59713712a43f78156577e0da8b74aa69f5 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Tue, 17 Nov 2020 19:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=BC=96=E9=98=9F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=85=AC=E4=BC=9A=E5=89=AF=E6=9C=AC=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E4=B8=80=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../View/GuildTranscriptFormation.lua | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/View/GuildTranscriptFormation.lua b/Assets/ManagedResources/~Lua/Modules/Formation/View/GuildTranscriptFormation.lua index 0ab8cab666..43d313f089 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/View/GuildTranscriptFormation.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/View/GuildTranscriptFormation.lua @@ -17,7 +17,12 @@ function this.GetFormationIndex() return FormationTypeDef.GUILD_TRANSCRIPT end --- btn1点击回调事件 + function this.On_Btn1_Click() + this.root.SetOneKeyGo() +end + +function this.On_Btn2_Click() if not hadClick then hadClick = true if this.root.order>=1 then @@ -35,26 +40,16 @@ function this.On_Btn1_Click() hadClick = false return end - - -- 战斗力判断 - -- GetCurNodeInfo = ExpeditionManager.GetCurNodeInfo() - --if this.root.formationPower >= this.nodeData.bossTeaminfo.totalForce then - this.StartFight() - --else - -- MsgPanel.ShowTwo("当前队伍战力小于推荐战力,战斗可能会有失败风险。确定是否要继续战斗?", function() - -- hadClick = false - -- end, function() - -- this.StartFight() - -- end, "取消", "确定" - -- ) - --end + this.StartFight() end end -- 初始化界面显示 function this.InitView() this.root.btn_1:SetActive(true) - this.root.btn_1_lab.text = Language[10708] + this.root.btn_1_lab.text = Language[10743] + this.root.btn_2:SetActive(true) + this.root.btn_2_lab.text = Language[10708] MapManager.isCarbonEnter = false this.root.formTip:SetActive(false) local costTip = this.root.costTip