【大闹天宫】试炼节点显示修改

dev_chengFeng
JieLing 2021-03-15 11:35:40 +08:00
parent 1982c4f81c
commit a0135661dc
1 changed files with 4 additions and 1 deletions

View File

@ -61,7 +61,10 @@ function this:FormationAdapter()
this.power.text = monsterData.bossTeaminfo.totalForce
local monsterCongig = {}
if monsterData.bossTeaminfo.teamInfo and monsterData.bossTeaminfo.teamInfo > 0 then
monsterCongig = ConfigManager.TryGetConfigData(ConfigName.HeroConfig,monsterData.bossTeaminfo.teamInfo)--monsterGroup.getHero)
local monsterGroup = ConfigManager.TryGetConfigDataByKey(ConfigName.ExpeditionRecruitConfig,"HeroId",monsterData.bossTeaminfo.teamInfo)
if monsterGroup and monsterGroup.getHero then
monsterCongig = ConfigManager.TryGetConfigData(ConfigName.HeroConfig,monsterCongig.getHero)
end
if not monsterCongig then return end
local heroConfig = monsterCongig
this.LiveName = GetResourcePath(heroConfig.Live)