Update - 1.4.0.73

EN: 1.4.0.73
CN: 1.4.0.74
JP: 1.4.0.77
KR: 1.4.0.80
This commit is contained in:
SL1900
2025-12-25 19:00:00 +09:00
parent 5f417fbe9d
commit 35c8d87e86
1183 changed files with 893278 additions and 92778 deletions
@@ -34,7 +34,8 @@ function PotentialBookCharItemCtrl:InitItem(nCharId)
local mapCharCfg = ConfigTable.GetData_Character(nCharId)
if mapCharCfg ~= nil then
self.nElement = mapCharCfg.EET
NovaAPI.SetTMPText(self._mapNode.txtName, mapCharCfg.Name)
local sName = self:_temp_proc_name(mapCharCfg.Name)
NovaAPI.SetTMPText(self._mapNode.txtName, sName)
local nSkinId = mapCharCfg.DefaultSkinId
local mapSkin = ConfigTable.GetData_CharacterSkin(nSkinId)
self:SetPngSprite(self._mapNode.imgChar, mapSkin.Icon .. AllEnum.CharHeadIconSurfix.GC)
@@ -56,4 +57,11 @@ function PotentialBookCharItemCtrl:Awake()
end
function PotentialBookCharItemCtrl:OnDisable()
end
function PotentialBookCharItemCtrl:_temp_proc_name(sName)
local _sName = string.gsub(sName, "%(", [[
(]])
local _sName = string.gsub(_sName, "(", "\n(")
return _sName
end
return PotentialBookCharItemCtrl