神尊bug修改
parent
e4b2b44199
commit
1540876166
|
@ -140,7 +140,8 @@ function PokemonSummonOneResultPanel:OnOpen(...)
|
||||||
if itemId == 16 and isActive then
|
if itemId == 16 and isActive then
|
||||||
local currPrivilege = privilegeConfig[3004]
|
local currPrivilege = privilegeConfig[3004]
|
||||||
local curShenzunLv=GetShenzunLv()
|
local curShenzunLv=GetShenzunLv()
|
||||||
itemNum = itemNum * (1+currPrivilege.Condition[curShenzunLv][2]/10000)
|
local conditionIndex=curShenzunLv+1
|
||||||
|
itemNum = itemNum * (1+currPrivilege.Condition[conditionIndex][2]/10000)
|
||||||
end
|
end
|
||||||
if itemId ==16 then
|
if itemId ==16 then
|
||||||
this.tipText.gameObject:SetActive(true)
|
this.tipText.gameObject:SetActive(true)
|
||||||
|
|
|
@ -146,7 +146,8 @@ function PokemonSummonPanel:refreshBtnShow()
|
||||||
local currPrivilege = privilegeConfig[3004]
|
local currPrivilege = privilegeConfig[3004]
|
||||||
if currPrivilege then
|
if currPrivilege then
|
||||||
local curShenzunLv=GetShenzunLv()
|
local curShenzunLv=GetShenzunLv()
|
||||||
itemNum = itemNum * (1 + currPrivilege.Condition[curShenzunLv][2]/10000)
|
local conditionIndex=curShenzunLv+1
|
||||||
|
itemNum = itemNum * (1 + currPrivilege.Condition[conditionIndex][2]/10000)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
icon.sprite = self.spLoader:LoadSprite(artResourcesConfig[itemConfig[itemId].ResourceID].Name)
|
icon.sprite = self.spLoader:LoadSprite(artResourcesConfig[itemConfig[itemId].ResourceID].Name)
|
||||||
|
|
Loading…
Reference in New Issue