more places in header.jade needing maxHealth fix
This commit is contained in:
@@ -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'))
|
||||
|
||||
Reference in New Issue
Block a user