属性显示错误修改提交

dev_chengFeng
jiaoyangna 2021-11-19 18:51:18 +08:00
parent 18968609a6
commit e722bf90d4
1 changed files with 2 additions and 2 deletions

View File

@ -177,9 +177,9 @@ function TailsmanSoulMainPanel:GetProData()
end
local str = ""
for i = 1,#curData do
str = string.format("<color=#ecdfc8>%s%s</color>",propertyConfig[curData[i][1]].Info,GetEquipPropertyFormatStr(curData[i][2],propertyConfig[curData[i][1]].Style) )
str = string.format("<color=#ecdfc8>%s%s</color>",propertyConfig[curData[i][1]].Info,GetEquipPropertyFormatStr(propertyConfig[curData[i][1]].Style,curData[i][2]) )
if nextProData[curData[i][1]] then
str = str..string.format("<color=#00FF00>+%s</color>",GetEquipPropertyFormatStr(nextProData[curData[i][1]] - curData[i][2],propertyConfig[curData[i][1]].Style))
str = str..string.format("<color=#00FF00>+%s</color>",GetEquipPropertyFormatStr(propertyConfig[curData[i][1]].Style,nextProData[curData[i][1]] - curData[i][2]))
end
table.insert(proData,str)
end