From f23ef79935406eff3185e9a45ce609ff2f8da263 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Mon, 19 Sep 2022 18:05:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BC=8F=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Pokemon/PokemonSummonTenResultPanel.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonTenResultPanel.lua b/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonTenResultPanel.lua index 00df420d64..bd145dd4ef 100644 --- a/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonTenResultPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Pokemon/PokemonSummonTenResultPanel.lua @@ -149,7 +149,8 @@ function PokemonSummonTenResultPanel:OnOpen(...) if itemId == 16 and isActive then local currPrivilege = privilegeConfig[3004] local curShenzunLv=GetShenzunLv() - itemNum = itemNum*(1+currPrivilege.Condition[curShenzunLv][2]/10000) + local conditionIndex=curShenzunLv+1 + itemNum = itemNum*(1+currPrivilege.Condition[conditionIndex][2]/10000) end if itemId ==16 then this.tipText.gameObject:SetActive(true)