From a98cf98c589f1cac7e73c8642ba848f2633c21d1 Mon Sep 17 00:00:00 2001 From: chenxi Date: Wed, 19 Apr 2023 22:41:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/hero/hero_detail_ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/app/ui/hero/hero_detail_ui.lua b/lua/app/ui/hero/hero_detail_ui.lua index bff654ce..f20d0733 100644 --- a/lua/app/ui/hero/hero_detail_ui.lua +++ b/lua/app/ui/hero/hero_detail_ui.lua @@ -99,8 +99,8 @@ function HeroDetailUI:_display() end else str = I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_5) - hpStr = self.heroEntity:getCfgHp(self.heroEntity:getBeginLv()) - atkStr = self.heroEntity:getCfgAtk(self.heroEntity:getBeginLv()) + hpStr = self.heroEntity:getCfgHp(self.heroEntity:getBeginLv()) // DEFAULT_FACTOR + atkStr = self.heroEntity:getCfgAtk(self.heroEntity:getBeginLv()) // DEFAULT_FACTOR end uiMap["hero_detail_ui.bg.up_btn.desc"]:setText(str) uiMap["hero_detail_ui.bg.up_btn.num"]:setText(materials[2])