Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
1c6599c17a
|
@ -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