parent
a6c2a99bbb
commit
51003c0c8c
|
@ -152,6 +152,7 @@ function this.OnShowData()
|
|||
table.insert(upStarMaterialsData,curUpStarConfig.ConsumeRes[i])
|
||||
end
|
||||
isUpStarMaterials = 0
|
||||
curUpStarSelectPokemonData = {}
|
||||
for i = 1, #upStarMaterialsPre do
|
||||
local itemParent = Util.GetGameObject(upStarMaterialsPre[i],"itemParent")
|
||||
local num = Util.GetGameObject(upStarMaterialsPre[i],"num"):GetComponent("Text")
|
||||
|
@ -162,9 +163,10 @@ function this.OnShowData()
|
|||
SubUIManager.Open(SubUIConfig.ItemView, itemParent.transform):OnOpen(false, {configMaterialId,0}, 1.3)
|
||||
local curMaterialBagNum = 0
|
||||
if spiritAnimal[configMaterialId] then--需要的灵兽
|
||||
curUpStarSelectPokemonData = {}
|
||||
--curUpStarSelectPokemonData = {}
|
||||
local NoUpLvPokemonData = PokemonManager.GetNoUpLvPokemonData(curPokemonData.id,curPokemonData.dynamicId)
|
||||
curMaterialBagNum = LengthOfTable(NoUpLvPokemonData)
|
||||
|
||||
for i = 1, #NoUpLvPokemonData do
|
||||
if i <= configMaterialNum then
|
||||
-- LogPink("NoUpLvPokemonData[i].dynamicId "..NoUpLvPokemonData[i].dynamicId)
|
||||
|
|
Loading…
Reference in New Issue