From 551579ca397e65831534869e854833b2a53ea992 Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Fri, 15 Sep 2023 18:00:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=9F=E9=99=85=E6=98=BE=E7=A4=BA=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A9=BA=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit fd5cd6836c2469821c6b52f37cb0b6f766fa664c) --- Assets/ManagedResources/~Lua/Common/functions.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Common/functions.lua b/Assets/ManagedResources/~Lua/Common/functions.lua index 0de57504de..01a0bc0e38 100644 --- a/Assets/ManagedResources/~Lua/Common/functions.lua +++ b/Assets/ManagedResources/~Lua/Common/functions.lua @@ -655,6 +655,9 @@ function SetHeroStars(spLoader, starGrid, star, type,_starSize,_scale,_pivot,rot -- horizonta.childAlignment = "LowerLeft" -- end --LogError("star====="..star) + if type==nil then + type=1 + end if star>11 then type=3 end