mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
World boss client (#9999)
* WIP(world-boss): client components partial * WIP(world-boss): more client additions * WIP(world-boss): some beautification * WIP(world-boss): more Tavern beauty * fix(world-boss): gradient adjustment * fix(style): various WB tweaks * fix(world-boss): better resolution Rage Strike * fix(world-boss): alignment fixes * Added world boss modal * feat(world-boss): add info button * fix(world-boss): move SVG and tweak padding
This commit is contained in:
@@ -53,12 +53,12 @@ div
|
||||
.grey-progress-bar
|
||||
.boss-health-bar(:style="{width: (group.quest.progress.hp / questData.boss.hp) * 100 + '%'}")
|
||||
.row.boss-details
|
||||
.col-6
|
||||
span.float-left
|
||||
| {{parseFloat(group.quest.progress.hp).toFixed(2)}} / {{parseFloat(questData.boss.hp).toFixed(2)}}
|
||||
.col-6(v-if='userIsOnQuest')
|
||||
// @TODO: Why do we not sync quset progress on the group doc? Each user could have different progress
|
||||
span.float-right {{parseFloat(user.party.quest.progress.up).toFixed(1) || 0}} pending damage
|
||||
.col-6
|
||||
span.float-left
|
||||
| {{parseFloat(group.quest.progress.hp).toFixed(2)}} / {{parseFloat(questData.boss.hp).toFixed(2)}}
|
||||
.col-6(v-if='userIsOnQuest')
|
||||
// @TODO: Why do we not sync quset progress on the group doc? Each user could have different progress
|
||||
span.float-right {{parseFloat(user.party.quest.progress.up).toFixed(1) || 0}} pending damage
|
||||
.row.rage-bar-row(v-if='questData.boss.rage')
|
||||
.col-12
|
||||
.grey-progress-bar
|
||||
|
||||
Reference in New Issue
Block a user