From f7d222efcd46c846f4d39e88e5095fb254f288fb Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Tue, 25 Jun 2024 11:26:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=82=E6=9C=BA=E7=95=8C=E9=9D=A2=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=80=81=E6=97=A0=E9=99=90=E5=85=85=E6=8A=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/View/BattlePanel.lua | 1 + .../~Lua/Modules/Fight/FightPointPassMainPanel.lua | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua index 7d61743b38..6b5d0d6df7 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua @@ -512,6 +512,7 @@ function this.BattleEnd(result) end BattleManager.SetLastBattleResult(this.lastBattleResult,fightType) this.ShowBattleResult(msg.result, msg) + Game.GlobalEvent:DispatchEvent(GameEvent.Mission.GetOpenServerRewardRefreshFightPoint) end) elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then--远征处理 if ExpeditionManager.ExpeditionState == 1 then diff --git a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua index 0f05482120..d9318def56 100644 --- a/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Fight/FightPointPassMainPanel.lua @@ -511,7 +511,7 @@ function this.RefreshBossInfo() local curFight=FightPointPassManager.curOpenFight name="" nextLv=0 - LogError("刷星boss显示 curfight==========================================================="..curFight) + --LogError("刷星boss显示 curfight==========================================================="..curFight) -- for k,v in ConfigPairs(fightLevelConfig) do -- local aa=v -- if k>=curFight then @@ -2019,9 +2019,9 @@ function this.UpdateOpenSeverWelfare() this.OpenSeverWelfareiconText.gameObject:SetActive(false) end LogError("FightPointPassManager.lastPassFightId=="..FightPointPassManager.lastPassFightId.." FightPointPassManager.curOpenFight=="..FightPointPassManager.curOpenFight) - local curPassLevelSortId = FightPointPassManager.soldierLayerId --FightPointPassManager.lastPassFightId ~= FightPointPassManager.curOpenFight and soldierStageConfig[FightPointPassManager.lastPassFightId].id or 0 + local curPassLevelSortId = FightPointPassManager.lastPassFightId ~= FightPointPassManager.curOpenFight and mainLevelConfig[FightPointPassManager.lastPassFightId].SortId or 0 LogError("curMissionConfig.Values[2][1]==============="..curMissionConfig.Values[2][1]) - local getRewardLevelSortId = soldierStageConfig[curMissionConfig.Values[2][1]].id + local getRewardLevelSortId = mainLevelConfig[curMissionConfig.Values[2][1]].SortId this.OpenSeverWelfareRed:SetActive(isShowRed) if isAll then this.OpenSeverWelfareProgressText.gameObject:SetActive(false)