diff options
| author | troido <troido@hotmail.com> | 2017-11-07 19:07:34 +0100 |
|---|---|---|
| committer | troido <troido@hotmail.com> | 2017-11-07 19:07:34 +0100 |
| commit | 56af1337af9c9cf27a4ca3ed4e3cb94bfcbdb9dc (patch) | |
| tree | fd97642bfeab59315a310967eb91c5e07ef1b13f /asciifarm/client | |
| parent | a2efbcc91190a79fb49489738cbf419a1b2395ee (diff) | |
improved combat system to include defense; made armour a thing
Diffstat (limited to 'asciifarm/client')
| -rw-r--r-- | asciifarm/client/display/healthpad.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/asciifarm/client/display/healthpad.py b/asciifarm/client/display/healthpad.py index 3e0a09d..d4ee3f8 100644 --- a/asciifarm/client/display/healthpad.py +++ b/asciifarm/client/display/healthpad.py @@ -11,6 +11,8 @@ class HealthPad: self.changed = False self.lastView = None self.colours = colours + self.health = 0 + self.maxHealth = 0 def setHealth(self, health, maxHealth): self.pad.erase() |
