From: 711215 <711215@pdsb.net> Date: Wed, 13 Jul 2022 19:30:26 +0000 (-0400) Subject: healthbar brightness fix X-Git-Url: http://git.skullheadx.com/about.html?a=commitdiff_plain;h=ef47124b69de34723adc58a2326778998862e800;p=Pygame-Jam.git healthbar brightness fix --- diff --git a/UI/HealthBar.py b/UI/HealthBar.py index 4c11034..dc26ac8 100644 --- a/UI/HealthBar.py +++ b/UI/HealthBar.py @@ -52,9 +52,9 @@ class BossHealthBar: return; def update(self): - if self.color_change == 0 and self.bar_color[1] != 255: + if self.color_change == 0 and self.bar_color[1] != 180: self.bar_color[1] = self.bar_color[1] + 1 - if self.bar_color[1] == 255: + if self.bar_color[1] == 180: self.color_change = 1 elif self.color_change == 1 and self.bar_color[1] != 0: self.bar_color[1] -= 1