好感度到达最大值修改
parent
ad35e1646c
commit
af63daaeaf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue