From 2aaf4d32a1253bc19b72a86eada38e3724c73d4c Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Thu, 25 Apr 2024 19:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E6=96=97=E8=83=8C=E6=99=AF=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/BattleManager.lua | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua b/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua index 75e6b906cc..186ecd539f 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/BattleManager.lua @@ -1165,31 +1165,31 @@ end -- 获取战斗背景 function this.GetBattleBg(fightType) - local index = 1 - if fightType == BATTLE_TYPE.STORY_FIGHT then - local curChapter = FightPointPassManager.GetCurChapterIndex() - index = math.floor((curChapter - 1) % 5 + 1) - elseif fightType == BATTLE_TYPE.BACK or fightType == BATTLE_TYPE.ARENA then - index = 1001 - elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then - index = 1002 - elseif fightType == BATTLE_TYPE.XuanYuan then - index = 1003 - elseif fightType == BATTLE_TYPE.DEATH_POS - or fightType == BATTLE_TYPE.MONSTER_CAMP - then - index = 1004 - elseif fightType == BATTLE_TYPE.TASUILINGXIAO then - index = 1006 - elseif fightType == BATTLE_TYPE.EndlessMpaFight then -- 无尽副本 - index = 5 - elseif fightType == BATTLE_TYPE.DAILY_CHALLENGE -- 日常副本 - or fightType == BATTLE_TYPE.FIGHTLEVEL -- 山河社稷图 - or fightType == BATTLE_TYPE.FIGHT_ASSISTANT_LEVEL - then - index = 2 - end - return "r_zhandou_changjing_"..tostring(index) + -- local index = 1 + -- if fightType == BATTLE_TYPE.STORY_FIGHT then + -- local curChapter = FightPointPassManager.GetCurChapterIndex() + -- index = math.floor((curChapter - 1) % 5 + 1) + -- elseif fightType == BATTLE_TYPE.BACK or fightType == BATTLE_TYPE.ARENA then + -- index = 1001 + -- elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then + -- index = 1002 + -- elseif fightType == BATTLE_TYPE.XuanYuan then + -- index = 1003 + -- elseif fightType == BATTLE_TYPE.DEATH_POS + -- or fightType == BATTLE_TYPE.MONSTER_CAMP + -- then + -- index = 1004 + -- elseif fightType == BATTLE_TYPE.TASUILINGXIAO then + -- index = 1006 + -- elseif fightType == BATTLE_TYPE.EndlessMpaFight then -- 无尽副本 + -- index = 5 + -- elseif fightType == BATTLE_TYPE.DAILY_CHALLENGE -- 日常副本 + -- or fightType == BATTLE_TYPE.FIGHTLEVEL -- 山河社稷图 + -- or fightType == BATTLE_TYPE.FIGHT_ASSISTANT_LEVEL + -- then + -- index = 2 + --end + return "r_zhandou_changjing_1001" --"r_zhandou_changjing_"..tostring(index) end -- 引导战斗暂停控制