战斗背景修改

tcx_xiyou_solider
PC-202302260912\Administrator 2024-04-25 19:51:33 +08:00
parent 4f8b3f1286
commit 2aaf4d32a1
1 changed files with 25 additions and 25 deletions

View File

@ -1165,31 +1165,31 @@ end
-- 获取战斗背景 -- 获取战斗背景
function this.GetBattleBg(fightType) function this.GetBattleBg(fightType)
local index = 1 -- local index = 1
if fightType == BATTLE_TYPE.STORY_FIGHT then -- if fightType == BATTLE_TYPE.STORY_FIGHT then
local curChapter = FightPointPassManager.GetCurChapterIndex() -- local curChapter = FightPointPassManager.GetCurChapterIndex()
index = math.floor((curChapter - 1) % 5 + 1) -- index = math.floor((curChapter - 1) % 5 + 1)
elseif fightType == BATTLE_TYPE.BACK or fightType == BATTLE_TYPE.ARENA then -- elseif fightType == BATTLE_TYPE.BACK or fightType == BATTLE_TYPE.ARENA then
index = 1001 -- index = 1001
elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then -- elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then
index = 1002 -- index = 1002
elseif fightType == BATTLE_TYPE.XuanYuan then -- elseif fightType == BATTLE_TYPE.XuanYuan then
index = 1003 -- index = 1003
elseif fightType == BATTLE_TYPE.DEATH_POS -- elseif fightType == BATTLE_TYPE.DEATH_POS
or fightType == BATTLE_TYPE.MONSTER_CAMP -- or fightType == BATTLE_TYPE.MONSTER_CAMP
then -- then
index = 1004 -- index = 1004
elseif fightType == BATTLE_TYPE.TASUILINGXIAO then -- elseif fightType == BATTLE_TYPE.TASUILINGXIAO then
index = 1006 -- index = 1006
elseif fightType == BATTLE_TYPE.EndlessMpaFight then -- 无尽副本 -- elseif fightType == BATTLE_TYPE.EndlessMpaFight then -- 无尽副本
index = 5 -- index = 5
elseif fightType == BATTLE_TYPE.DAILY_CHALLENGE -- 日常副本 -- elseif fightType == BATTLE_TYPE.DAILY_CHALLENGE -- 日常副本
or fightType == BATTLE_TYPE.FIGHTLEVEL -- 山河社稷图 -- or fightType == BATTLE_TYPE.FIGHTLEVEL -- 山河社稷图
or fightType == BATTLE_TYPE.FIGHT_ASSISTANT_LEVEL -- or fightType == BATTLE_TYPE.FIGHT_ASSISTANT_LEVEL
then -- then
index = 2 -- index = 2
end --end
return "r_zhandou_changjing_"..tostring(index) return "r_zhandou_changjing_1001" --"r_zhandou_changjing_"..tostring(index)
end end
-- 引导战斗暂停控制 -- 引导战斗暂停控制