From 7a66818c2e7e071f175aab5df865d82aaf6cf071 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Thu, 22 Dec 2022 14:21:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E6=88=98=E7=95=8C=E9=9D=A2=E6=98=9F?= =?UTF-8?q?=E7=BA=A7=E6=98=BE=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Formation/FormationPanelV2.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua index eda5e4696e..3f1b408560 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua @@ -870,7 +870,7 @@ function this.SingleHeroDataShow(_go, _heroData) teamList[index-2000]:SetActive(true) end end - --LogError("heroData.heroConfig.Id=="..heroData.heroConfig.Id) + LogError("heroData.heroConfig.Id=="..heroData.heroConfig.Id) star=endLess[heroData.heroConfig.Id].Star if star>11 then starSize = Vector3.New(1,-15.6) @@ -880,6 +880,10 @@ function this.SingleHeroDataShow(_go, _heroData) level=endLess[heroData.heroConfig.Id].Level end + if star>11 then + starSize = Vector3.New(1,-15.6) + starScale = -13 + end frame.sprite=this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroData.heroConfig.Quality,star)) if HarmonyManager.IsChangeColor(heroData.dynamicId) then -- body