罗浮争锋上阵修改

tcx_xiyou_dev hotfix/xiyou/cdn_daShengOnline_and/1.1.13
wangzhenxing 2024-06-11 17:00:22 +08:00
parent 18999a02ce
commit 6a3f8748c3
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ function this.GetHeroList(proId)
local allHero={}
for i = 1,#currHeros do
local hero = currHeros[i]
if hero and (hero.heroConfig.PropertyName==JumpServerManager.arenaType or hero.heroConfig.PropertyName==5) then
if hero and (hero.heroConfig.PropertyName==proType or hero.heroConfig.PropertyName==5) then
table.insert(allHero,hero)
end
end
@ -78,7 +78,7 @@ function this.GetOneKeyUpHeroList()
local num=0
for i = 1,#currHeros do
local hero = currHeros[i]
if hero and (hero.heroConfig.PropertyName==JumpServerManager.arenaType or (hero.heroConfig.PropertyName==5 and num<=limitNum)) then
if hero and (hero.heroConfig.PropertyName==proType or (hero.heroConfig.PropertyName==5 and num<=limitNum)) then
if hero.heroConfig.PropertyName==5 then
num=num+1
end