mirror of
https://github.com/n0remac/game-jam-2020.git
synced 2025-12-06 03:13:12 -06:00
Reset starting health to be full
This commit is contained in:
@@ -131,7 +131,7 @@ class Mob(arcade.Sprite):
|
||||
super(Mob, self).__init__(*args, **kwargs)
|
||||
|
||||
self.max_health, self.max_armor = max_health, max_armor
|
||||
self.health, self.armor = 60, max_armor
|
||||
self.health, self.armor = max_health, max_armor
|
||||
self.idle_textures = []
|
||||
self.walking_textures = []
|
||||
self.up_textures = []
|
||||
@@ -270,4 +270,4 @@ class Enemy(Mob):
|
||||
start, end = self.dungeon.grid.node(*start), self.dungeon.grid.node(*end)
|
||||
paths, runs = self.dungeon.finder.find_path(start, end, self.dungeon.grid)
|
||||
self.dungeon.grid.cleanup()
|
||||
return paths
|
||||
return paths
|
||||
|
||||
Reference in New Issue
Block a user