【优化】心愿抽卡将孙悟空从心愿池去除

dev_chengFeng
ZhangBiao 2021-07-19 15:50:35 +08:00
parent 190fa0b1a8
commit d19d2f7dd3
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ end
function this.GetCurHeroList(curIndex)
local heroList = {}
for index, v in ipairs(RecruitManager.GetRewardPreviewData(PRE_REWARD_POOL_TYPE.RECRUIT)) do
if heroConfig[v.Reward[1]].Star == 5 and heroConfig[v.Reward[1]].PropertyName == curIndex then
if heroConfig[v.Reward[1]].Star == 5 and heroConfig[v.Reward[1]].PropertyName == curIndex and heroConfig[v.Reward[1]].Weight > 0 then
table.insert(heroList,v)
end
end