From 0a9315381ee45ce6efe9f82fcae250cbc4e22d14 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Wed, 4 Aug 2021 16:58:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=81=B5=E5=85=BD=E5=B1=B1=E3=80=91?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=81=B5=E5=85=BD=E7=95=8C=E9=9D=A2=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Player/JumpManager.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua index dcd567ed36..5e8f7b9169 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/JumpManager.lua @@ -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