【跨服天梯】国内提交+1
parent
d9ca231e57
commit
99cad10435
|
@ -558,8 +558,8 @@ SHOP_PAGE = {
|
||||||
COIN = 3, -- 代币
|
COIN = 3, -- 代币
|
||||||
YUANSHEN = 4, -- 元神
|
YUANSHEN = 4, -- 元神
|
||||||
PLAY = 5, -- 玩法
|
PLAY = 5, -- 玩法
|
||||||
EXCHANGE = 6, -- 兑换
|
JUMPSERVER = 6, -- 跨服
|
||||||
JUMPSERVER = 7, -- 跨服
|
EXCHANGE = 7, -- 兑换
|
||||||
}
|
}
|
||||||
SHOP_TYPE = {
|
SHOP_TYPE = {
|
||||||
SOUL_CONTRACT_SHOP = 1, -- 契魂商店
|
SOUL_CONTRACT_SHOP = 1, -- 契魂商店
|
||||||
|
|
|
@ -7,6 +7,7 @@ local m_backPanel
|
||||||
local orginLayer
|
local orginLayer
|
||||||
local fightType
|
local fightType
|
||||||
local isBackBattle = false
|
local isBackBattle = false
|
||||||
|
local itemConfig = ConfigManager.GetConfig(ConfigName.ItemConfig)
|
||||||
--初始化组件(用于子类重写)
|
--初始化组件(用于子类重写)
|
||||||
function BattleFailPopup:InitComponent()
|
function BattleFailPopup:InitComponent()
|
||||||
this.spLoader = SpriteLoader.New()
|
this.spLoader = SpriteLoader.New()
|
||||||
|
@ -129,7 +130,7 @@ function this.ClosePanelRefreshData()
|
||||||
elseif fightType == BATTLE_TYPE.XIAOYAOYOU then--逍遥游
|
elseif fightType == BATTLE_TYPE.XIAOYAOYOU then--逍遥游
|
||||||
this.ShowBattleResultByXYY()
|
this.ShowBattleResultByXYY()
|
||||||
elseif fightType == BATTLE_TYPE.JumpServerhightLadder then--跨服天梯
|
elseif fightType == BATTLE_TYPE.JumpServerhightLadder then--跨服天梯
|
||||||
PopupTipPanel.ShowTip("挑战失败,罗浮争锋排行无变化!")
|
this.ShowBattleResultByJumpServerHightLadder()
|
||||||
--新回放功能
|
--新回放功能
|
||||||
elseif fightType == BATTLE_TYPE.BACK_BATTLE then
|
elseif fightType == BATTLE_TYPE.BACK_BATTLE then
|
||||||
if BattleManager.GetLastBattleType() == BATTLE_TYPE.EXECUTE_FIGHT then-- 猎妖之路
|
if BattleManager.GetLastBattleType() == BATTLE_TYPE.EXECUTE_FIGHT then-- 猎妖之路
|
||||||
|
@ -149,6 +150,23 @@ function this.ShowBattleResultByXYY()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- 罗浮争锋结算界面特殊显示
|
||||||
|
function this.ShowBattleResultByJumpServerHightLadder()
|
||||||
|
PopupTipPanel.ShowTip("挑战失败,罗浮争锋排行无变化!")
|
||||||
|
if not isBackBattle and JumpServerManager.curBattleDrop.itemlist ~= nil and #JumpServerManager.curBattleDrop.itemlist > 0 then
|
||||||
|
local content = {}
|
||||||
|
for i = 1, #JumpServerManager.curBattleDrop.itemlist do
|
||||||
|
local itemdata = {}
|
||||||
|
itemdata.configData = itemConfig[JumpServerManager.curBattleDrop.itemlist[i].itemId]
|
||||||
|
itemdata.name = GetLanguageStrById(itemdata.configData.Name)
|
||||||
|
itemdata.icon = this.spLoader:LoadSprite(GetResourcePath(itemdata.configData.ResourceID))
|
||||||
|
itemdata.num = JumpServerManager.curBattleDrop.itemlist[i].itemNum
|
||||||
|
table.insert(content, itemdata)
|
||||||
|
end
|
||||||
|
PopupText(content, 0.5, 2)
|
||||||
|
end
|
||||||
|
end
|
||||||
-- 猎妖之路结算界面特殊显示
|
-- 猎妖之路结算界面特殊显示
|
||||||
function this.ShowBattleResultByExpedition()
|
function this.ShowBattleResultByExpedition()
|
||||||
if not isBackBattle then
|
if not isBackBattle then
|
||||||
|
|
Loading…
Reference in New Issue