feat(event): Spring Fling 2018

This commit is contained in:
SabreCat
2018-03-20 21:30:43 +00:00
parent 67e750a81c
commit a84ea8b1b7
78 changed files with 492 additions and 44 deletions
-1
View File
@@ -21,7 +21,6 @@
span(:class="member.preferences.size + '_shirt_' + member.preferences.shirt")
span.head_0
span(:class="member.preferences.size + '_' + getGearClass('armor')")
span.head_0
span(:class="getGearClass('back_collar')")
span(:class="getGearClass('body')")
template(v-for="type in ['bangs', 'base', 'mustache', 'beard']")
@@ -295,7 +295,7 @@
.content {
display: flex;
flex-direction: column;
z-index: 1; // Always cover background.
z-index: 1; // Always cover background.
}
.npc {
@@ -467,7 +467,7 @@ export default {
},
async mounted () {
const worldState = await this.$store.dispatch('worldState:getWorldState');
this.broken = worldState.worldBoss.extra.worldDmg.market;
this.broken = worldState && worldState.worldBoss && worldState.worldBoss.extra && worldState.worldBoss.extra.worldDmg && worldState.worldBoss.extra.worldDmg.market;
},
computed: {
...mapState({
@@ -400,7 +400,7 @@ export default {
},
async mounted () {
const worldState = await this.$store.dispatch('worldState:getWorldState');
this.broken = worldState.worldBoss.extra.worldDmg.quests;
this.broken = worldState && worldState.worldBoss && worldState.worldBoss.extra && worldState.worldBoss.extra.worldDmg && worldState.worldBoss.extra.worldDmg.quests;
},
computed: {
...mapState({
@@ -23,8 +23,7 @@
)
.standard-page
div.featuredItems
.background(:class="{opened: seasonal.opened && !broken, broken: broken}")
.background(:class="{cracked: broken, broken: broken}")
.background(:class="{opened: seasonal.opened}")
div.npc
div.featured-label
span.rectangle
@@ -373,7 +372,7 @@
},
async mounted () {
const worldState = await this.$store.dispatch('worldState:getWorldState');
this.broken = worldState.worldBoss.extra.worldDmg.seasonalShop;
this.broken = worldState && worldState.worldBoss && worldState.worldBoss.extra && worldState.worldBoss.extra.worldDmg && worldState.worldBoss.extra.worldDmg.seasonalShop;
},
computed: {
...mapState({