parent
10783ed104
commit
14559c4d6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue