Mercurial > skaapsteker
changeset 374:9530b8dbda5f
0 health is DEAD
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sat, 09 Apr 2011 15:02:44 +0200 |
parents | a2efe5470b79 |
children | 8631e38afc24 |
files | skaapsteker/sprites/base.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/skaapsteker/sprites/base.py Sat Apr 09 15:00:53 2011 +0200 +++ b/skaapsteker/sprites/base.py Sat Apr 09 15:02:44 2011 +0200 @@ -199,7 +199,7 @@ print 'Damaged by ', damage self.health -= damage print 'Monster health', self.health - if self.health < 0: + if self.health <= 0: self.kill() class PatrollingMonster(Monster):