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