【优化】心愿抽卡将孙悟空从心愿池去除
parent
190fa0b1a8
commit
d19d2f7dd3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue