mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
October Prebuild (#15325)
* Add october background * Add armoire * Add subscriber gear * add new pet * improve quest tests * Fixes from gear switchup * use new sprite system for quest images * fixes * fix quest image alignment * add missing string * fix(style): lint warnings and typo --------- Co-authored-by: Phillip Thelen <phillip@habitica.com> Co-authored-by: Sabe Jones <sabe@habitica.com>
This commit is contained in:
@@ -11,10 +11,11 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="pull-right-sm text-center">
|
||||
<div
|
||||
class="col-centered"
|
||||
:class="`quest_${quests[user.party.quest.key].key}`"
|
||||
></div>
|
||||
<div class="col-centered">
|
||||
<Sprite
|
||||
:image-name="`quest_${quests[user.party.quest.key].key}`"
|
||||
/>
|
||||
</div>
|
||||
<div ng-if="quests[user.party.quest.key].boss">
|
||||
<h4>{{ quests[user.party.quest.key].boss.name() }}</h4>
|
||||
<p>
|
||||
@@ -93,8 +94,12 @@ import * as quests from '@/../../common/script/content/quests';
|
||||
import percent from '@/../../common/script/libs/percent';
|
||||
import { MAX_HEALTH as maxHealth } from '@/../../common/script/constants';
|
||||
import { mapState } from '@/libs/store';
|
||||
import Sprite from '@/components/ui/sprite';
|
||||
|
||||
export default {
|
||||
components: [
|
||||
Sprite,
|
||||
],
|
||||
data () {
|
||||
return {
|
||||
maxHealth,
|
||||
|
||||
Reference in New Issue
Block a user