好感度0级挂机收益显示错误修改
parent
ce39857111
commit
6700723aaa
|
@ -435,7 +435,13 @@ function this.SetProvalue(prolist,proType,tag,nextLv,indexType,_color)
|
|||
else
|
||||
local config = ConfigManager.TryGetConfigDataByKey(ConfigName.PrivilegeTypeConfig,"PrivilegeType",k)
|
||||
if config then
|
||||
str1 = string.format(config.Name,string.format("<color=#%s>%s</color>",_color,GetEquipPropertyFormatStr(config.IfFloat, v)))
|
||||
local tempStr = ""
|
||||
if v > 0 then
|
||||
tempStr = GetEquipPropertyFormatStr(config.IfFloat, v)
|
||||
else
|
||||
tempStr = string.format("%d%%", 0)
|
||||
end
|
||||
str1 = string.format(config.Name,string.format("<color=#%s>%s</color>",_color,tempStr))
|
||||
end
|
||||
end
|
||||
table.insert(newProList,str1)
|
||||
|
|
Loading…
Reference in New Issue