[bug]=====命石描述修改,车迟开启提示修改
parent
91ace072a2
commit
3e9ed638b4
|
|
@ -422,7 +422,7 @@ function this._TimeUpdate()
|
||||||
--LogError("timeStamp=="..limitTime-GetTimeStamp())
|
--LogError("timeStamp=="..limitTime-GetTimeStamp())
|
||||||
local cha =limitTime-GetTimeStamp()
|
local cha =limitTime-GetTimeStamp()
|
||||||
if cha>86400 then
|
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
|
elseif cha>3600 then
|
||||||
this.timeText.text = string.format("%s后开启",TimeToH(limitTime-GetTimeStamp()))
|
this.timeText.text = string.format("%s后开启",TimeToH(limitTime-GetTimeStamp()))
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -243,7 +243,13 @@ function this.SetGemProperty()
|
||||||
this.proList[i] = go
|
this.proList[i] = go
|
||||||
end
|
end
|
||||||
go:SetActive(true)
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue