From e8e133fb392a6055a888baee7c9e6fe158df174b Mon Sep 17 00:00:00 2001 From: vurtne14 Date: Wed, 16 Sep 2026 20:34:00 +0800 Subject: [PATCH] 1 --- Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua | 2 +- .../ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua b/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua index 8cab2ff88c..f9d2edf37c 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua @@ -1241,7 +1241,7 @@ end -- 获取战斗背景 function this.GetBattleBg(fightType) - local index = "Map1" + local index = "Map6" if fightType == BATTLE_TYPE.STORY_FIGHT then local curChapter = FightPointPassManager.GetCurChapterIndex() --index = "Map" .. math.floor((curChapter - 1) % 5 + 1) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua index bfe1e12011..dcd0b3812a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/BattlePanel.lua @@ -287,8 +287,10 @@ function this:OnOpen(_fightData, _fightType, _endFunc, _guideType, isChangeBGM) if _fightData.bg then --this.LiveBg = poolManager:LoadLive(_fightData.bg, this.BG.transform, Vector3.New(1.5, 1.5, 1.5), Vector3.zero) + LogError("hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh") this.mapGameObject = BattleManager.CreateMap(this.battleSceneGameObject, _fightData.bg) else + LogError("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"..BattleManager.GetBattleBg(fightType)) --this.LiveBg = poolManager:LoadLive(BattleManager.GetBattleBg(fightType), this.BG.transform, --Vector3.New(1.5, 1.5, 1.5), Vector3.zero) this.mapGameObject = BattleManager.CreateMap(this.battleSceneGameObject, BattleManager.GetBattleBg(fightType))