This commit is contained in:
chenxi 2023-04-19 22:41:01 +08:00
parent ce145b8014
commit a98cf98c58

View File

@ -99,8 +99,8 @@ function HeroDetailUI:_display()
end end
else else
str = I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_5) str = I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_5)
hpStr = self.heroEntity:getCfgHp(self.heroEntity:getBeginLv()) hpStr = self.heroEntity:getCfgHp(self.heroEntity:getBeginLv()) // DEFAULT_FACTOR
atkStr = self.heroEntity:getCfgAtk(self.heroEntity:getBeginLv()) atkStr = self.heroEntity:getCfgAtk(self.heroEntity:getBeginLv()) // DEFAULT_FACTOR
end end
uiMap["hero_detail_ui.bg.up_btn.desc"]:setText(str) uiMap["hero_detail_ui.bg.up_btn.desc"]:setText(str)
uiMap["hero_detail_ui.bg.up_btn.num"]:setText(materials[2]) uiMap["hero_detail_ui.bg.up_btn.num"]:setText(materials[2])