好感度到达最大值修改

dev_chengFeng
jiaoyangna 2021-09-27 19:20:29 +08:00
parent ad35e1646c
commit af63daaeaf
1 changed files with 3 additions and 2 deletions

View File

@ -178,6 +178,7 @@ function this.GetLv(indexType,value)
return list[i].lv - 1,list[i].value
end
end
return list[#list].lv,list[#list].value
end
--indexType 1 获取总好感度属性 2获取单个神将好感度属性
@ -422,7 +423,7 @@ function this.SetProvalue(prolist,proType,tag,nextLv,indexType,_color)
if proType == 1 then
str1 = PropertyConfig[k].Info..string.format(" <color=#%s>+%s</color>",_color,GetPropertyFormatStrOne(PropertyConfig[k].Style, v) )
if nextLv and list[nextLv] then
local pro1 = LikabilityManager.GetProData(indexType,-1,nextLv)
local pro1 = LikabilityManager.GetProData(indexType,nextLv,nextLv)
if pro1[k] and pro1[k] > 0 then
str1 = str1.." "..string.format("<color=#%s>(下级额外 +%s)</color>",color1,pro1[k])
end