From f291195ccd15dcd93103433866b5873f6bf9b15b Mon Sep 17 00:00:00 2001 From: chenxi Date: Sun, 16 Apr 2023 20:46:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BB=E9=98=B2=E5=8F=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/battle/battle_ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/app/ui/battle/battle_ui.lua b/lua/app/ui/battle/battle_ui.lua index 41b2a72a..9fcdefb9 100644 --- a/lua/app/ui/battle/battle_ui.lua +++ b/lua/app/ui/battle/battle_ui.lua @@ -91,8 +91,8 @@ end function BattleUI:initHpNode() self.hpProgressLeft = self.uiMap["battle_ui.top_node.bg_l.atk_slider_green"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER) self.hpProgressRight = self.uiMap["battle_ui.top_node.bg_r.atk_slider_red"]:getComponent(GConst.TYPEOF_UNITY_CLASS.BF_SLIDER) - self.hpTextRight = self.uiMap["battle_ui.top_node.atk_hp"] - self.hpTextLeft = self.uiMap["battle_ui.top_node.def_hp"] + self.hpTextLeft = self.uiMap["battle_ui.top_node.atk_hp"] + self.hpTextRight = self.uiMap["battle_ui.top_node.def_hp"] end function BattleUI:refreshAtkHp(num, percent)