more places in header.jade needing maxHealth fix

This commit is contained in:
Will
2015-07-03 22:15:44 -07:00
parent 9bcb3b5cbe
commit b3a780b720
+1 -1
View File
@@ -10,7 +10,7 @@
.meter-label(tooltip=env.t('health'))
span.glyphicon.glyphicon-heart
.meter.health(tooltip='{{Math.round(user.stats.hp * 100) / 100}}')
.bar(ng-style='{"width": Shared.percent(user.stats.hp, 50)+"%"}')
.bar(ng-style='{"width": Shared.percent(user.stats.hp, Shared.maxHealth)+"%"}')
span.meter-text.value
| {{Math.ceil(user.stats.hp)}} / Shared.maxHealth
.meter-label(tooltip=env.t('experience'))