diff --git a/Assets/ManagedResources/~Lua/Common/functions.lua b/Assets/ManagedResources/~Lua/Common/functions.lua index 039d1bca34..bd7008b15f 100644 --- a/Assets/ManagedResources/~Lua/Common/functions.lua +++ b/Assets/ManagedResources/~Lua/Common/functions.lua @@ -658,11 +658,11 @@ function SetHeroStars(spLoader, starGrid, star, type,_starSize,_scale,_pivot,rot if type==nil then type=1 end - if star>11 then + if star>=11 then type=3 end if type==3 then - star=star-11 + star=star-10 end local starSize if not _starSize and type == 3 then @@ -702,7 +702,7 @@ function SetHeroStars(spLoader, starGrid, star, type,_starSize,_scale,_pivot,rot starPre:GetComponent("LayoutGroup").spacing = scale starPre:GetComponent("RectTransform").pivot = pivot starPre.transform:GetChild(0).gameObject:SetActive(false) - --LogError("star============="..star.." type=========="..type) + LogError("star============="..star.." type=========="..type) if star < 7 and type and type == 3 then starPre.transform:GetChild(0).gameObject:SetActive(true) for i = 2, 24 do diff --git a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua index f1ab63b16d..58e7ab0dc3 100644 --- a/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Hero/HeroManager.lua @@ -200,7 +200,7 @@ function this.UpdateHeroDatas(_msgHeroData, isFindHandBook) local godSoulLv = GodSoulManager.GetGodSoulLv(heroData.dynamicId) if godSoulLv and godSoulLv > 0 then return godSoulLv,3 - elseif heroData.star >= 12 then + elseif heroData.star >= 11 then return heroData.star,3 elseif heroData.star > 9 then return heroData.star,2 @@ -1213,6 +1213,7 @@ function this.UpdateHeroLvEnd() if heroEndStar == nil then heroEndStar = v.Star end + LogError("heroEndStar================="..heroEndStar) for i, v2 in ConfigPairs(heroRankUpConfig) do if v2.Star == v.Star then if v2.OpenStar == heroEndStar then diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua index 28c212484e..10dedc4a0b 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleInfoPanel.lua @@ -590,7 +590,7 @@ function this:UpdateBtnList() tabsList[k].gameObject:SetActive(false) end elseif k == RoleInfoPanelIndex.jinjie then - if curHeroData.star < 11 then + if curHeroData.star < 10 then tabsList[k].gameObject:SetActive(true) else tabsList[k].gameObject:SetActive(false) @@ -610,7 +610,7 @@ function this:UpdateBtnList() end elseif k == RoleInfoPanelIndex.feiSheng then local isopen=ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.FlyUp) - if curHeroData.heroConfig.MaxRank >11 and curHeroData.star>=11 and curHeroData.star < 16 then + if curHeroData.heroConfig.MaxRank >11 and curHeroData.star>=10 and curHeroData.star < 15 then tabsList[k].gameObject:SetActive(true) else tabsList[k].gameObject:SetActive(false)