This commit is contained in:
puxuan 2025-08-28 10:38:19 +08:00
parent 9be39b4c7e
commit c64788d22e

View File

@ -36,7 +36,8 @@ function LargeHeroCell:refresh(heroEntity, isGray, useFunc)
self.matchType = heroEntity:getMatchType()
local heroInfo = heroEntity:getConfig()
self:_refresh(heroInfo, isGray)
self.icon:setSprite(GConst.ATLAS_PATH.ICON_HERO_2, DataManager.SkinData:getIcon(heroEntity:getSkinId()))
-- self.icon:setSprite(GConst.ATLAS_PATH.ICON_HERO_2, DataManager.SkinData:getIcon(heroEntity:getSkinId()))
self.icon:setSprite(GConst.ATLAS_PATH.ICON_HERO_2, tostring(heroInfo.icon))
local str
if heroEntity:canLvUp() then
str = I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_4)