diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarListPanel.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarListPanel.lua index 3e18e10859..59bce52478 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarListPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleUpStarListPanel.lua @@ -67,17 +67,30 @@ function RoleUpStarListPanel:OnOpen(heroData,HeroRankupGroupData,RankupConsumeMa curHeroData = _curHeroData heroDataList = heroData this.HeroSortData(heroDataList) + local text = "" for i, v in pairs(heroDataList) do + text = "" for n,w in pairs(FormationManager.formationList) do if HeroManager.heroResolveLicence[n] then for m = 1, #w.teamHeroInfos do if v.dynamicId==w.teamHeroInfos[m].heroId then - local isFormationStr = HeroManager.GetHeroFormationStr(n) - v.isFormation = isFormationStr + local isFormationStr = HeroManager.GetHeroFormationStr2(n) + if isFormationStr ~= "" then + if not text or text == "" then + text = isFormationStr + else + text = text .. "、"..isFormationStr + end + end end end end end + if not text or text == "" then + v.isFormation = "" + else + v.isFormation = Language[12317]..text..Language[12318] + end end this.ScrollView:SetData(heroDataList, function (index, go) this.OnShowSingleCardData(go, heroDataList[index])