一键穿戴法相修改
(cherry picked from commit 33b4ccf984
)
tcx_xiyou_dev
hotfix/xiyou/cdn_daShengOnline_and/1.1.10
parent
613bc877b8
commit
cd00a28621
|
@ -705,7 +705,7 @@ function this.IsQualifiled(id)
|
|||
local serverOpenTime = PlayerManager.GetServerOpenTime()
|
||||
local openDay = math.ceil(math.max(0, GetTimeStamp() - serverOpenTime)/(60*60*24))--当前是开服第几天
|
||||
-- LogError("当前是开服第几天了:"..openDay)
|
||||
return openDay >= v.OpenRules[2]
|
||||
return openDay >= openRule[2]
|
||||
end
|
||||
return qualifiled
|
||||
end
|
||||
|
|
|
@ -634,7 +634,7 @@ function this.GetOneKeyUpFaXiangByType(_hero)
|
|||
for i, v in pairs(allTreasures) do
|
||||
if v.faXiangConfig.Type==0
|
||||
and (v.faXiangConfig.Profession==0 or v.faXiangConfig.Profession==_hero.heroConfig.Profession)
|
||||
and CheckListIsContainValue1(v.faXiangConfig.Job,_hero.heroConfig.Job) and v.upHeroDid=="" then
|
||||
and (CheckListIsContainValue1(v.faXiangConfig.Job,_hero.heroConfig.Job) or CheckListIsContainValue1(v.faXiangConfig.Job,0)) and v.upHeroDid=="" then
|
||||
local power=this.CalculateEquipWarForce(v)
|
||||
--LogError("power=========="..power)
|
||||
--table.insert(yinList,v)
|
||||
|
@ -647,7 +647,7 @@ function this.GetOneKeyUpFaXiangByType(_hero)
|
|||
for i, v in pairs(allTreasures) do
|
||||
if v.faXiangConfig.Type==1
|
||||
and (v.faXiangConfig.Profession==0 or v.faXiangConfig.Profession==_hero.heroConfig.Profession)
|
||||
and CheckListIsContainValue1(v.faXiangConfig.Job,_hero.heroConfig.Job) and v.upHeroDid=="" then
|
||||
and (CheckListIsContainValue1(v.faXiangConfig.Job,_hero.heroConfig.Job) or CheckListIsContainValue1(v.faXiangConfig.Job,0)) and v.upHeroDid=="" then
|
||||
local power=this.CalculateEquipWarForce(v)
|
||||
-- LogError("power=========="..power)
|
||||
--table.insert(yinList,v)
|
||||
|
|
Loading…
Reference in New Issue