Update - 1.9.0.103
EN: 1.9.0.103 CN: 1.9.0.104 JP: 1.9.0.106 KR: 1.9.0.108
This commit is contained in:
@@ -155,6 +155,7 @@ function FriendInfoCtrl:RefreshActor()
|
||||
end
|
||||
function FriendInfoCtrl:RefreshHonorTitle()
|
||||
local tbCurHonorTitle = PlayerData.Base:GetPlayerHonorTitle()
|
||||
local tbOwnHonorData = PlayerData.Base:GetPlayerHonorTitleList() or {}
|
||||
for i = 1, 3 do
|
||||
if tbCurHonorTitle[i] ~= nil and tbCurHonorTitle[i].Id ~= 0 and tbCurHonorTitle[i] ~= nil then
|
||||
local honorData = ConfigTable.GetData("Honor", tbCurHonorTitle[i].Id)
|
||||
@@ -166,6 +167,13 @@ function FriendInfoCtrl:RefreshHonorTitle()
|
||||
else
|
||||
printError("不存在角色" .. honorData.Params[1])
|
||||
end
|
||||
elseif honorData.Type == GameEnum.honorType.Levels then
|
||||
for k, v in pairs(tbOwnHonorData) do
|
||||
if v.Id == honorData.Id then
|
||||
level = v.Lv or 1
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
self._mapNode.goHonorTitle[i]:SetHonotTitle(honorData.Id, i == 1, level)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user