好感度增加返回提示

dev_chengFeng
jiaoyangna 2021-09-27 11:22:17 +08:00
parent 4e17b829ba
commit fb2bcaff48
1 changed files with 3 additions and 0 deletions

View File

@ -147,6 +147,7 @@ function this.UpdatelSingleHeroData(heroId,itemId,itemNum)
local tempheroConfig = heroConfig[heroId]
value = this.ItemList[itemId][tempheroConfig.PropertyName]*itemNum
this.UpdatelBackData(heroId,value,1)
PopupTipPanel.ShowTip("好感度+"..value)
end
-- -1 总好感度 其他是神将id
@ -427,11 +428,13 @@ function this.SetProvalue(prolist,proType,tag,nextLv,indexType,_color)
end
end
else
LogGreen("k:"..k)
local config = ConfigManager.TryGetConfigDataByKey(ConfigName.PrivilegeTypeConfig,"PrivilegeType",k)
if config then
str1 = string.format(config.Name,string.format("<color=#%s>+%s</color>",_color,GetPropertyFormatStrOne(config.IfFloat, v)))
end
end
LogGreen("str1:"..str1)
table.insert(newProList,str1)
end
str = string.format(tag,color1,(newProList[1] or ""),(newProList[2] or ""))