血条bug
This commit is contained in:
parent
4277a4d116
commit
eeb822a6ec
@ -473,6 +473,7 @@ function BattleUI:refreshAtkHp(num, percent)
|
|||||||
end
|
end
|
||||||
self.hpProgressLeft.value = percent
|
self.hpProgressLeft.value = percent
|
||||||
self.hpProgressYellowLeft.value = percent
|
self.hpProgressYellowLeft.value = percent
|
||||||
|
self.hpPercentLeft = percent
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if self.hpPercentLeft == percent then
|
if self.hpPercentLeft == percent then
|
||||||
@ -505,6 +506,7 @@ function BattleUI:refreshDefHp(num, percent)
|
|||||||
end
|
end
|
||||||
self.hpProgressRight.value = percent
|
self.hpProgressRight.value = percent
|
||||||
self.hpProgressYellowRight.value = percent
|
self.hpProgressYellowRight.value = percent
|
||||||
|
self.hpPercentRight = percent
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if self.hpPercentRight == percent then
|
if self.hpPercentRight == percent then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user