血条bug

This commit is contained in:
chenxi 2023-04-23 20:59:31 +08:00
parent 4277a4d116
commit eeb822a6ec

View File

@ -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