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