竞技场跳过30级后解锁

gaoxin 2020-09-08 20:16:14 +08:00
parent 63f7759c7a
commit b395ea2804
4 changed files with 5 additions and 4 deletions

View File

@ -2048,6 +2048,7 @@ BATTLE_TYPE = {
Senro = 12, -- 森罗幻境
Xuanyuan = 13, -- 轩辕宝镜
GuildTranscript = 14, -- 公会副本
ARENA = 15, -- 竞技场
}
rankKingList={ [1] = { bgImage = "r_zjm_paihangbang_banner04", name = Language[12164] ,rankType = RANK_TYPE.FIGHT_LEVEL_RANK,activiteId = 0,isRankingMainPanelShow = true},
[2] = { bgImage = "r_zjm_paihangbang_banner02", name = Language[12165] ,rankType = RANK_TYPE.FORCE_CURR_RANK,activiteId = 0,isRankingMainPanelShow = true},

View File

@ -250,7 +250,7 @@ end
--- doneFunc 战斗播放完成要回调的事件
function this.RequestReplayRecord(isWin, fightData, nameStr, doneFunc)
local fightData = BattleManager.GetBattleServerData({fightData = fightData}, 1)
local battlePanel = UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.BACK, doneFunc)
local battlePanel = UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.ARENA, doneFunc)
battlePanel:ShowNameShow(isWin, nameStr)
end

View File

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

View File

@ -83,7 +83,7 @@ function this:BindEvent()
local pauseTime = 31
Util.AddClick(this.BtnExit, function ()
if not BattleManager.IsUnlockBattlePass() then
PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(isBack and PRIVILEGE_TYPE.SkipFight or PRIVILEGE_TYPE.ExitFight ))
PopupTipPanel.ShowTip(PrivilegeManager.GetPrivilegeOpenTip(PRIVILEGE_TYPE.SkipFight))
return
end
if BattleLogic.IsEnd or not BattleManager.IsCanOperate() then
@ -377,7 +377,7 @@ function this.ShowBattleResult(result, msg)
UIManager.ClosePanel(UIName.ElementPopup)
end
-- 回放直接关闭界面
if fightType == BATTLE_TYPE.BACK then
if fightType == BATTLE_TYPE.BACK or fightType == BATTLE_TYPE.ARENA then
this:ClosePanel()
return
end