神尊特权bug修改

yuanshuai 2022-09-18 13:59:51 +08:00
parent 817dd37a71
commit d3db7ac28d
2 changed files with 4 additions and 2 deletions

View File

@ -139,7 +139,8 @@ function PokemonSummonOneResultPanel:OnOpen(...)
local isActive = PrivilegeManager.GetPrivilegeOpenStatusById(3004)
if itemId == 16 and isActive then
local currPrivilege = privilegeConfig[3004]
itemNum = itemNum * (1+currPrivilege.Condition[1][2]/10000)
local curShenzunLv=GetShenzunLv()
itemNum = itemNum * (1+currPrivilege.Condition[curShenzunLv][2]/10000)
end
if itemId ==16 then
this.tipText.gameObject:SetActive(true)

View File

@ -148,7 +148,8 @@ function PokemonSummonTenResultPanel:OnOpen(...)
local isActive = PrivilegeManager.GetPrivilegeOpenStatusById(3004)
if itemId == 16 and isActive then
local currPrivilege = privilegeConfig[3004]
itemNum = itemNum*(1+currPrivilege.Condition[1][2]/10000)
local curShenzunLv=GetShenzunLv()
itemNum = itemNum*(1+currPrivilege.Condition[curShenzunLv][2]/10000)
end
if itemId ==16 then
this.tipText.gameObject:SetActive(true)