【bug】======命石属性描述修改

dev_chengFeng
wangzhenxing 2022-03-29 13:39:05 +08:00
parent 3e9ed638b4
commit 24475514b9
1 changed files with 7 additions and 1 deletions

View File

@ -81,7 +81,13 @@ function SelectGem:SingleDataShow(go,data,index)
local property = gemConfig[data.id].Property
local textDesc = ""
for i = 1, #property do
textDesc = textDesc..string.format( "全体神将%s+%s",PropertyConfig[property[i][1]].Info,property[i][2]/100).."%"
local str=""
if PropertyConfig[property[i][1]].Style==1 then
str=string.format( "全体神将%s+%s",PropertyConfig[property[i][1]].Info,property[i][2])
elseif PropertyConfig[property[i][1]].Style==2 then
str=string.format( "全体神将%s+%s",PropertyConfig[property[i][1]].Info,property[i][2]/100).."%"
end
textDesc = str--textDesc..string.format( "全体神将%s+%s",PropertyConfig[property[i][1]].Info,property[i][2]/100).."%"
if property[i+1] then
textDesc = textDesc.."\n"
end