[bug]====英雄信息修改

dev_chengFeng
wangzhenxing 2022-04-02 17:47:30 +08:00
parent 0a52e4a549
commit e0ec7f2dec
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ local heroRankupConfig=ConfigManager.GetConfig(ConfigName.HeroRankupConfig)
local jewelConfig=ConfigManager.GetConfig(ConfigName.JewelConfig)
local formationId
local pinjieImage={"r_hero_pinjiebiao_01","r_hero_pinjiebiao_02"} --该死的品阶图片 1是未激活 2是激活
local choosedList
local orginLayer2 = 0
local orginLayer = 0
local formationHeroNum = nil
@ -198,7 +198,6 @@ end
--界面打开时调用(用于子类重写)
function RoleInfoPopup:OnOpen(...)
this.selsectEquipImage:SetActive(false)
this.selsectSkillImage:SetActive(false)
local arg = { ... }

View File

@ -62,6 +62,7 @@ function FourTrailSingleHelpHero:OnShow(curType,...)
if curType == 1 then
heroData = args[1].hero
player = args[1].player
heroData.changeProId = player.hero.propertyId
self.proIcon.sprite = self.spLoader:LoadSprite(GetProStrImageByProNum(player.hero.propertyId))
else
heroData = args[1]