地图修改

TCX_LongZhu
zhangjiannan 2024-10-15 11:57:20 +08:00
parent ce0ee8ec33
commit cabdcc8ddf
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
"type": "emmylua_attach",
"request": "attach",
"name": "Attach by process id",
"pid": 12760,
"pid": 11920,
"processName": "",
"captureLog": false
}

View File

@ -1235,7 +1235,7 @@ function this.GetBattleBg(fightType)
local index = "Map1"
if fightType == BATTLE_TYPE.STORY_FIGHT then
local curChapter = FightPointPassManager.GetCurChapterIndex()
index = math.floor((curChapter - 1) % 5 + 1)
index = "Map" .. math.floor((curChapter - 1) % 5 + 1)
elseif fightType == BATTLE_TYPE.BACK or fightType == BATTLE_TYPE.ARENA then
index = "Map2"
elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then