【灵兽山】增加灵兽界面跳转

dev_chengFeng
ZhangBiao 2021-08-04 16:58:19 +08:00
parent 78155b6a3f
commit 50cbd0ea50
1 changed files with 6 additions and 2 deletions

View File

@ -610,8 +610,12 @@ local jumpDic = {
end
UIManager.OpenPanel(UIName.MainShopPanel,13)
end,
[JumpType.Pokemon] = function()--灵兽山(驭兽斋)
UIManager.OpenPanel(UIName.PokemonSummonPanel)
[JumpType.Pokemon] = function(data)--灵兽山(驭兽斋)
if data and data[1] == 1 then
UIManager.OpenPanel(UIName.PokemonSummonPanel)
elseif data and data[1] == 2 then
UIManager.OpenPanel(UIName.PokemonMainPanel)
end
end,
[JumpType.HongMengZhen] = function ()
-- body