[bug]=====命石描述修改,车迟开启提示修改

dev_chengFeng
wangzhenxing 2022-03-29 11:54:41 +08:00
parent 91ace072a2
commit 3e9ed638b4
2 changed files with 8 additions and 2 deletions

View File

@ -422,7 +422,7 @@ function this._TimeUpdate()
--LogError("timeStamp=="..limitTime-GetTimeStamp())
local cha =limitTime-GetTimeStamp()
if cha>86400 then
this.timeText.text = string.format("%s后开启",TimeToD(limitTime-GetTimeStamp()))
this.timeText.text = string.format("%s后开启",TimeToD(limitTime-GetTimeStamp()))
elseif cha>3600 then
this.timeText.text = string.format("%s后开启",TimeToH(limitTime-GetTimeStamp()))
else

View File

@ -243,7 +243,13 @@ function this.SetGemProperty()
this.proList[i] = go
end
go:SetActive(true)
go:GetComponent("Text").text = string.format( "全体神将%s+%s",PropertyConfig[data[i][1]].Info,data[i][2]/100).."%"
local str=""
if PropertyConfig[data[i][1]].Style==1 then
str=string.format( "全体神将%s+%s",PropertyConfig[data[i][1]].Info,data[i][2])
elseif PropertyConfig[data[i][1]].Style==2 then
str=string.format( "全体神将%s+%s",PropertyConfig[data[i][1]].Info,data[i][2]/100).."%"
end
go:GetComponent("Text").text = str
end
end