From eeb822a6ecc1e95d810bc5fd13d141466e652312 Mon Sep 17 00:00:00 2001 From: chenxi Date: Sun, 23 Apr 2023 20:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=80=E6=9D=A1bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/battle/battle_ui.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/app/ui/battle/battle_ui.lua b/lua/app/ui/battle/battle_ui.lua index 5781a205..dd07cd1d 100644 --- a/lua/app/ui/battle/battle_ui.lua +++ b/lua/app/ui/battle/battle_ui.lua @@ -473,6 +473,7 @@ function BattleUI:refreshAtkHp(num, percent) end self.hpProgressLeft.value = percent self.hpProgressYellowLeft.value = percent + self.hpPercentLeft = percent return end if self.hpPercentLeft == percent then @@ -505,6 +506,7 @@ function BattleUI:refreshDefHp(num, percent) end self.hpProgressRight.value = percent self.hpProgressYellowRight.value = percent + self.hpPercentRight = percent return end if self.hpPercentRight == percent then