【神将】升星,需要四个三星同阵营不应该自动给选择上
parent
aa86f77fea
commit
9fbcc3b77b
|
@ -907,8 +907,11 @@ function RoleInfoPanel:AutoSelectUpStarHeroList(_curUpStarData)
|
||||||
curSelectUpStarGo=upStarPreList[i]
|
curSelectUpStarGo=upStarPreList[i]
|
||||||
local upStarHeroListData=HeroManager.GetUpStarHeroListData(curUpStarData[i].upStarMaterialsData.Id,curHeroData)
|
local upStarHeroListData=HeroManager.GetUpStarHeroListData(curUpStarData[i].upStarMaterialsData.Id,curHeroData)
|
||||||
local curSelectHeroList = {}
|
local curSelectHeroList = {}
|
||||||
if curUpStarData[i].upStarMaterialsData.Issame ==1 or curUpStarData[i].upStarMaterialsData.IsId > 0 or
|
if curUpStarData[i].upStarMaterialsData.Issame ==1
|
||||||
(curUpStarData[i].upStarMaterialsData.IsSameClan == 1 and curUpStarData[i].upStarMaterialsData.StarLimit == 3 and curHeroData.heroConfig.Qualiy ~= 3) then
|
or curUpStarData[i].upStarMaterialsData.IsId > 0 then
|
||||||
|
-- or (curUpStarData[i].upStarMaterialsData.IsSameClan == 1
|
||||||
|
-- and curUpStarData[i].upStarMaterialsData.StarLimit == 3
|
||||||
|
-- and curHeroData.heroConfig.Qualiy ~= 3) then
|
||||||
if LengthOfTable(upStarHeroListData.heroList) >= curUpStarData[i].upStarData[4] then
|
if LengthOfTable(upStarHeroListData.heroList) >= curUpStarData[i].upStarData[4] then
|
||||||
for i = 1, curUpStarData[i].upStarData[4] do
|
for i = 1, curUpStarData[i].upStarData[4] do
|
||||||
if upStarHeroListData.heroList[i].lockState == 0 and upStarHeroListData.heroList[i].isFormation == "" then
|
if upStarHeroListData.heroList[i].lockState == 0 and upStarHeroListData.heroList[i].isFormation == "" then
|
||||||
|
|
Loading…
Reference in New Issue