Major Update - 2.0.0.143
EN: 2.0.0.143 CN: 2.0.0.142 JP: 2.0.0.145 KR: 2.0.0.150
This commit is contained in:
@@ -27,7 +27,7 @@ function HonorTitleCtrl:SetHonotTitle(honorTitleId, bBig, affinity_lv)
|
||||
local honorData = ConfigTable.GetData("Honor", honorTitleId)
|
||||
self:SetPngSprite(self._mapNode.imgHonorTitle, bBig and honorData.MainRes or honorData.SubRes)
|
||||
NovaAPI.SetImageNativeSize(self._mapNode.imgHonorTitle)
|
||||
if honorData.Type ~= GameEnum.honorType.Character and honorData.Type ~= GameEnum.honorType.Levels then
|
||||
if honorData.Type ~= GameEnum.honorType.Character and honorData.Type ~= GameEnum.honorType.Levels and honorData.Type ~= GameEnum.honorType.Dorm then
|
||||
self._mapNode.goStarBig:SetActive(false)
|
||||
self._mapNode.goStarSmall:SetActive(false)
|
||||
self._mapNode.goHeartNumSmall:SetActive(false)
|
||||
@@ -40,6 +40,8 @@ function HonorTitleCtrl:SetHonotTitle(honorTitleId, bBig, affinity_lv)
|
||||
self.tbHonorTitle, maxLevel = PlayerData.Char:GetCharHonorTitleData(honorData.Params[1])
|
||||
elseif honorData.Type == GameEnum.honorType.Levels then
|
||||
self.tbHonorTitle, maxLevel = PlayerData.Base:GetLevelHonorTitleData(honorTitleId)
|
||||
elseif honorData.Type == GameEnum.honorType.Dorm then
|
||||
self.tbHonorTitle, maxLevel = PlayerData.PlayerDormData:GetHonorTitleData(affinity_lv)
|
||||
end
|
||||
if self.tbHonorTitle == nil then
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user