[灵兽]======================灵兽星级显示修改

TCX_dev_realOne_master
wangzhenxing 2023-12-24 11:10:31 +08:00
parent 0161e01588
commit 5bb0f32800
10 changed files with 11 additions and 11 deletions

View File

@ -74,7 +74,7 @@ function this.GetShowPanelData()
local star = pokemonBackData.star
if star>5 then
starType=3
star=pokemonBackData.star+6
star=pokemonBackData.star+5
starSize = Vector2.New(1.2,-30)
starScale = 0
else

View File

@ -365,7 +365,7 @@ function this.UpdateHeroInfoData()
local star = curPokemonData.star
if star>5 then
starType=3
star=curPokemonData.star+6
star=curPokemonData.star+5
starSize = Vector2.New(1,2.2)
starScale = -10
else

View File

@ -263,7 +263,7 @@ function this.ShowSinglePokemonList(go,singleData,liveIndex)
local starType=1
if star>5 then
starType=3
star=star+6
star=star+5
starSize = Vector2.New(1,-13)
starScale = 0
end

View File

@ -90,7 +90,7 @@ function PokemonUpStarSuccessPanel:OnOpen(_curPokemonData)
local star = curPokemonData.star
if star>5 then
starType=3
star=curPokemonData.star+6
star=curPokemonData.star+5
starSize = Vector2.New(1,2) --控制大小
starScale = -5 --控制距离
else

View File

@ -94,7 +94,7 @@ function this.OnShowData()
local starSize=Vector2(50,50)
local type=1
if star>5 then
star=star+6
star=star+5
starSize = Vector2.New(1,-13)
type=3
end
@ -103,7 +103,7 @@ function this.OnShowData()
local starSize2=Vector2(50,50)
local type2=1
if star2>5 then
star2=star2+6
star2=star2+5
starSize2 = Vector2.New(1,-13)
type2=3
end

View File

@ -134,7 +134,7 @@ function this.SingPokemonDataShow(_go,_itemData)
local star=_itemData.star
local type=1
if star>5 then
star=star+6
star=star+5
starSize = Vector2.New(1,-13)
type=3
end

View File

@ -82,7 +82,7 @@ function this.SingleItemDataShow(_go,_itemData)
local star=_itemData.star
local type=1
if star>5 then
star=star+6
star=star+5
starSize = Vector2.New(1,-13)
type=3
end

View File

@ -482,7 +482,7 @@ function this.FormationAdapter(teamInfo)
local type=1
local starScale = -10
if star>5 then
star=star+6
star=star+5
starSize = Vector2.New(0.8,-25)
starScale=-20
type=3

View File

@ -281,7 +281,7 @@ function this.SingleHeroDataShow(go,_heroData,isGray)
local type=1
local starSize=Vector2.New(32.5,32.5)
if star>5 then
star=star+6
star=star+5
starSize = Vector2.New(1,-13)
type=3
end

View File

@ -425,7 +425,7 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择
local star = heroData.pokemonData.star
local starSize=Vector2.New(32.5,32.5)
if star>5 then
star=star+6
star=star+5
starSize = Vector2.New(1,-13)
end
SetHeroStars(this.spLoader, starGrid, star,1,starSize,-15)