Make health summary reflect 'down' status

This commit is contained in:
Anna Rose 2012-07-06 21:47:53 -04:00
parent 0db48c544d
commit 9b00d08b39

View File

@ -375,7 +375,7 @@ class CombatGroup():
def group_down(self): def group_down(self):
for c in self.members.values(): for c in self.members.values():
if c.hp > 0: if not c.is_down():
return False return False
return True return True
@ -645,7 +645,9 @@ recharge powers:
def format_health_summary(self): def format_health_summary(self):
bloodied = '' bloodied = ''
temp_info = '' temp_info = ''
if self.is_bloodied(): if self.is_down():
bloodied = ', down'
elif self.is_bloodied():
bloodied = ', bloodied' bloodied = ', bloodied'
if len(self.conditions): if len(self.conditions):
bloodied = bloodied + ', ' bloodied = bloodied + ', '