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 = {}
|
this.canUseHeroDatas = {}
|
||||||
end
|
end
|
||||||
for k,v in pairs(this.heroDataLists) do
|
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
|
if not this.canUseHeroDatas[v.dynamicId] then
|
||||||
this.canUseHeroDatas[v.dynamicId] = v
|
this.canUseHeroDatas[v.dynamicId] = v
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue