灵兽羁绊修改提交

dev_chengFeng
jiaoyangna 2021-03-16 11:10:09 +08:00
parent 7215433a87
commit 27859eec4f
1 changed files with 13 additions and 10 deletions

View File

@ -298,6 +298,7 @@ function this.GetAllPokemonFetterDatas()
local singPokemonFetterData = {} local singPokemonFetterData = {}
local curPokemonSidList = this.GetAllPokemonGetDatas() local curPokemonSidList = this.GetAllPokemonGetDatas()
for k,v in ConfigPairs(ConfigManager.GetConfig(ConfigName.SpiritAnimalBook)) do for k,v in ConfigPairs(ConfigManager.GetConfig(ConfigName.SpiritAnimalBook)) do
if v.Type == 3 then
local singPokemonFetterData = {} local singPokemonFetterData = {}
singPokemonFetterData.id = v.Id singPokemonFetterData.id = v.Id
if pokemonFetter and pokemonFetter[singPokemonFetterData.id] then if pokemonFetter and pokemonFetter[singPokemonFetterData.id] then
@ -309,6 +310,8 @@ function this.GetAllPokemonFetterDatas()
end end
table.insert(SpiritAnimalBookList,singPokemonFetterData) table.insert(SpiritAnimalBookList,singPokemonFetterData)
end end
end
-- LogGreen("#SpiritAnimalBookList:"..#SpiritAnimalBookList) -- LogGreen("#SpiritAnimalBookList:"..#SpiritAnimalBookList)
return SpiritAnimalBookList return SpiritAnimalBookList
end end