【ID1009418】

【无尽副本】购买行动力任务,点击前往按钮关闭弹窗并打开购买行动力界面
dev_chengFeng
jiaoyangna 2021-06-09 11:03:18 +08:00
parent 9914b6ef76
commit bf5c4197ce
4 changed files with 8 additions and 0 deletions

View File

@ -1035,6 +1035,7 @@ JumpType = {
XiangYaoDuoBao = 10020,--降妖夺宝
HeadChange = 10021, --巅峰赛
XianShiDuiHuan = 10022, --主题活动限时兑换
EndlessXingDongliBuy = 10023, --无尽行动力购买
ZhuTiHuoDong = 20000, --主题活动任务
QianKunShangDian = 20044, --乾坤商店
SheJiDaDianShangDian = 20060, --社稷大典商店

View File

@ -680,6 +680,7 @@ function this.InitMissionData()
data.info = ""
data.progress = 0
data.value = v.Values[2][1]
data.jump = v.Jump
data.BoxReward = {}
for i = 1,#v.Reward do
table.insert(data.BoxReward ,v.Reward[i])

View File

@ -661,6 +661,9 @@ local jumpDic = {
[JumpType.FightLevel] = function (data)
UIManager.OpenPanel(UIName.FightLevelChapterPanel)
end,
[JumpType.EndlessXingDongliBuy] = function(data)
UIManager.OpenPanel(UIName.QuickPurchasePanel, { type = 1 })
end,
}
function this.JumpActivity(data,skipfactor)

View File

@ -144,6 +144,9 @@ function this.SetScrollPre(root,data)
Util.AddOnceClick(goBtn,function()
this:ClosePanel()
if data.jump and data.jump > 0 then
JumpManager.GoJump(data.jump)
end
end)
Util.AddOnceClick(getBtn,function()
if getFunc then