神尊特权bug修改
parent
817dd37a71
commit
d3db7ac28d
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue