地图修改
parent
ce0ee8ec33
commit
cabdcc8ddf
|
@ -9,7 +9,7 @@
|
||||||
"type": "emmylua_attach",
|
"type": "emmylua_attach",
|
||||||
"request": "attach",
|
"request": "attach",
|
||||||
"name": "Attach by process id",
|
"name": "Attach by process id",
|
||||||
"pid": 12760,
|
"pid": 11920,
|
||||||
"processName": "",
|
"processName": "",
|
||||||
"captureLog": false
|
"captureLog": false
|
||||||
}
|
}
|
||||||
|
|
|
@ -1235,7 +1235,7 @@ function this.GetBattleBg(fightType)
|
||||||
local index = "Map1"
|
local index = "Map1"
|
||||||
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 = "Map" .. 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 = "Map2"
|
index = "Map2"
|
||||||
elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then
|
elseif fightType == BATTLE_TYPE.EXECUTE_FIGHT then
|
||||||
|
|
Loading…
Reference in New Issue