Jørn Guldberg há 11 meses
ascendente
cometimento
4e3468a6c3
1 ficheiros alterados com 1 adições e 1 eliminações
  1. +1
    -1
      julespil/game.py

+ 1
- 1
julespil/game.py Ver ficheiro

@ -158,7 +158,7 @@ class Enemy(pygame.sprite.Sprite):
if life_ratio >= 0.75:
self.health_bar_color = GREEN
elif life_ratio < 0.75 and life_ratio >= 0.25:
elif life_ratio < 0.75 and life_ratio > 0.26:
self.health_bar_color = YELLOW
else:
self.health_bar_color = RED

Carregando…
Cancelar
Guardar