Files
habitica/website/views/options/social/quests/bossStats.jade
T
Sabe Jones b9f795529b feat(quests): Dilatory Distress
Implements the "Dilatory Distress" quest chain, purchasable for Gold. Also adds four new items to the Enchanted Armoire.
2015-07-13 18:21:32 -05:00

25 lines
1008 B
Plaintext

if tavern
div(class="quest_{{group.quest.key}} quest_{{group.quest.key}}_#{env.worldDmg.recent}")
else
div(class="quest_{{::group.quest.key}}")
.hero-stats
h4 {{::Content.quests[group.quest.key].boss.name()}}
.meter-label(tooltip=env.t('bossHP'))
span.glyphicon.glyphicon-heart
.meter.health
.bar(ng-style='{width: Shared.percent(progress.hp, boss.hp) + "%"}')
span.meter-text.value
| {{Math.ceil(progress.hp) | roundLargeNumbers}}
|  / {{::boss.hp | roundLargeNumbers}}
div(ng-if='boss.rage')
.meter-label(tooltip='Rage')
span.glyphicon.glyphicon-fire
.meter.mana(popover="{{::boss.rage.description()}}",
popover-title="{{::boss.rage.title()}}",
popover-trigger='mouseenter', popover-placement='bottom')
.bar(ng-style='{width: Shared.percent(progress.rage, boss.rage.value) + "%"}')
span.meter-text.value
| {{Math.ceil(progress.rage) | roundLargeNumbers}}
|  / {{::boss.rage.value | roundLargeNumbers}}