【英雄升星祭品】提交——5

dev_chengFeng
zhangqiang 2021-04-20 19:58:07 +08:00
parent 61833b8b00
commit a7dc372bb7
2 changed files with 5 additions and 5 deletions

View File

@ -257,7 +257,7 @@ function this.AutoSelectUpStarHeroList(_curUpStarData)
table.insert(curSelectHeroList,upStarHeroListData.heroList[i])
end
end
this:UpdateUpStarPosHeroData(curSelectHeroList)
this.UpdateUpStarPosHeroData(curSelectHeroList)
end
end
end
@ -309,7 +309,7 @@ function this.SetShowHeroListData(upStarConsumeMaterial,curHeroList)--1 消耗
for _, v in pairs(curEndShowHeroListData) do
if v.type == RoleUpStarMatType.hero and v.dynamicId==upStarConsumeMaterial[j][k].dynamicId then
v.isSelect=1
elseif v.type == RoleUpStarMatType.item and v.index==upStarConsumeMaterial[j][k].index then
elseif v.type == RoleUpStarMatType.item and v.id==upStarConsumeMaterial[j][k].id and v.index==upStarConsumeMaterial[j][k].index then
v.isSelect=1
end
end
@ -317,7 +317,7 @@ function this.SetShowHeroListData(upStarConsumeMaterial,curHeroList)--1 消耗
for i, v in pairs(curEndShowHeroListData) do
if v.type == RoleUpStarMatType.hero and v.dynamicId==upStarConsumeMaterial[j][k].dynamicId then
curEndShowHeroListData[i] = nil
elseif v.type == RoleUpStarMatType.item and v.index==upStarConsumeMaterial[j][k].index then
elseif v.type == RoleUpStarMatType.item and v.id==upStarConsumeMaterial[j][k].id and v.index==upStarConsumeMaterial[j][k].index then
curEndShowHeroListData[i] = nil
end
end

View File

@ -359,7 +359,7 @@ function RoleUpStarLayout:SetShowHeroListData(upStarConsumeMaterial,curHeroList)
for _, v in pairs(curEndShowHeroListData) do
if v.type == RoleUpStarMatType.hero and v.dynamicId==upStarConsumeMaterial[j][k].dynamicId then
v.isSelect=1
elseif v.type == RoleUpStarMatType.item and v.index==upStarConsumeMaterial[j][k].index then
elseif v.type == RoleUpStarMatType.item and v.id==upStarConsumeMaterial[j][k].id and v.index==upStarConsumeMaterial[j][k].index then
v.isSelect=1
end
end
@ -367,7 +367,7 @@ function RoleUpStarLayout:SetShowHeroListData(upStarConsumeMaterial,curHeroList)
for i, v in pairs(curEndShowHeroListData) do
if v.type == RoleUpStarMatType.hero and v.dynamicId==upStarConsumeMaterial[j][k].dynamicId then
curEndShowHeroListData[i] = nil
elseif v.type == RoleUpStarMatType.item and v.index==upStarConsumeMaterial[j][k].index then
elseif v.type == RoleUpStarMatType.item and v.id==upStarConsumeMaterial[j][k].id and v.index==upStarConsumeMaterial[j][k].index then
curEndShowHeroListData[i] = nil
end
end