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