【ID1018450】

【无尽副本】一键上阵会上阵空血神将
dev_chengFeng
jiaoyangna 2021-09-11 14:38:12 +08:00
parent 10783ed104
commit 14559c4d6a
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ function this.GetCanUseHeroDatas()
this.canUseHeroDatas = {}
end
for k,v in pairs(this.heroDataLists) do
if PlayerManager.GetHeroDataByStar(0,v.id) then
if PlayerManager.GetHeroDataByStar(0,v.id) and v.percentHp > 0 then
if not this.canUseHeroDatas[v.dynamicId] then
this.canUseHeroDatas[v.dynamicId] = v
end