Commits

Arne Babenhauserheide  committed a0d042c

use fire burst for wounds.

  • Participants
  • Parent commits 9a43c10

Comments (0)

Files changed (1)

File hexbattle_units.py

 
     def show_wound(self, critical=False):
         """Add a wound status sprite."""
-        offset_x = 20 - 12*len(self.status_sprites)
+        offset_x = 20 -16*len(self.status_sprites)
         offset_y = 20
         if critical:
-            wound = Sprite(join("graphics", "wesnoth", "ring-red.png"), 
+            wound = Sprite(join("graphics", "wesnoth", "fire-burst-small-1.png"), 
                            x = self.x + offset_x, 
                            y = self.y + offset_y)
         else: 
-            wound = Sprite(join("graphics", "wesnoth", "ring-brown.png"), 
+            wound = Sprite(join("graphics", "wesnoth", "fire-burst-small-4.png"), 
                            x = self.x + offset_x, 
                            y = self.y + offset_y)
+        wound.scale = 0.5
         wound.offset_x = offset_x
         wound.offset_y = offset_y
         self.status_sprites.append(wound)