灵兽羁绊修改提交

dev_chengFeng
jiaoyangna 2021-03-16 13:49:32 +08:00
parent 27859eec4f
commit adabb23e0c
1 changed files with 1 additions and 2 deletions

View File

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