diff --git a/assets/script/game/map/HerosListComp.ts b/assets/script/game/map/HerosListComp.ts index 575083aa..4f680f94 100644 --- a/assets/script/game/map/HerosListComp.ts +++ b/assets/script/game/map/HerosListComp.ts @@ -263,7 +263,7 @@ export class HerosListComp extends CCComp { } this.updatePoolLvBg(hero.card_lv ?? 1) - this.updateLvDisplay(hero) + this.updateLvDisplay(uuid) this.updateTypeDisplay(hero) this.updateHeroAnimation(uuid) this.updateGrowthPanel(uuid) @@ -288,9 +288,10 @@ export class HerosListComp extends CCComp { } } - private updateLvDisplay(hero: typeof HeroInfo[number]) { + private updateLvDisplay(uuid: number) { if (!this.lv_label) return - this.lv_label.string = `lv.${hero.card_lv ?? 1}` + const outerLv = smc.getHeroOuterLv(uuid) + this.lv_label.string = `lv.${outerLv}` } private updateTypeDisplay(hero: typeof HeroInfo[number]) {