feat(content): Spring Fling 2020

This commit is contained in:
Sabe Jones
2020-03-17 14:48:23 -05:00
parent bbbc06733b
commit 5a5a6e4c5d
48 changed files with 229 additions and 27 deletions
@@ -39,6 +39,7 @@ export const EVENTS = {
summer2019: { start: '2019-06-18', end: '2019-08-02' },
fall2019: { start: '2019-09-24', end: '2019-11-02' },
winter2020: { start: '2019-12-19', end: '2020-02-02' },
spring2020: { start: '2019-03-17', end: '2020-05-02' },
};
export const SEASONAL_SETS = {
@@ -121,6 +122,13 @@ export const SEASONAL_SETS = {
'spring2019OrchidWarriorSet',
'spring2019CloudRogueSet',
'spring2019RobinHealerSet',
// spring 2020
'spring2020BeetleWarriorSet',
'spring2020IrisHealerSet',
'spring2020LapisLazuliRogueSet',
'spring2020PuddleMageSet',
],
summer: [
// summer 2014
@@ -1,3 +1,4 @@
import moment from 'moment';
import {
EVENTS,
} from '../../../constants';
@@ -8,7 +9,7 @@ import * as takeThisGear from './special-takeThis';
import * as wonderconGear from './special-wondercon';
import t from '../../../translation';
const CURRENT_SEASON = 'winter';
const CURRENT_SEASON = moment().isBetween('2020-03-17', '2020-05-02') ? 'spring' : '_NONE_';
const armor = {
0: backerGear.armorSpecial0,
@@ -1002,6 +1003,7 @@ const armor = {
notes: t('armorSpecialSpring2019RogueNotes', { per: 15 }),
value: 90,
per: 15,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Warrior: {
event: EVENTS.spring2019,
@@ -1011,6 +1013,7 @@ const armor = {
notes: t('armorSpecialSpring2019WarriorNotes', { con: 9 }),
value: 90,
con: 9,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Mage: {
event: EVENTS.spring2019,
@@ -1020,6 +1023,7 @@ const armor = {
notes: t('armorSpecialSpring2019MageNotes', { int: 9 }),
value: 90,
int: 9,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Healer: {
event: EVENTS.spring2019,
@@ -1029,6 +1033,7 @@ const armor = {
notes: t('armorSpecialSpring2019HealerNotes', { con: 15 }),
value: 90,
con: 15,
canBuy: () => CURRENT_SEASON === 'spring',
},
summer2019Rogue: {
event: EVENTS.summer2019,
@@ -1151,6 +1156,42 @@ const armor = {
value: 0,
canOwn: ownsItem('armor_special_birthday2020'),
},
spring2020Rogue: {
event: EVENTS.spring2020,
specialClass: 'rogue',
set: 'spring2020LapisLazuliRogueSet',
text: t('armorSpecialSpring2020RogueText'),
notes: t('armorSpecialSpring2020RogueNotes', { per: 15 }),
value: 90,
per: 15,
},
spring2020Warrior: {
event: EVENTS.spring2020,
specialClass: 'warrior',
set: 'spring2020BeetleWarriorSet',
text: t('armorSpecialSpring2020WarriorText'),
notes: t('armorSpecialSpring2020WarriorNotes', { con: 9 }),
value: 90,
con: 9,
},
spring2020Mage: {
event: EVENTS.spring2020,
specialClass: 'wizard',
set: 'spring2020PuddleMageSet',
text: t('armorSpecialSpring2020MageText'),
notes: t('armorSpecialSpring2020MageNotes', { int: 9 }),
value: 90,
int: 9,
},
spring2020Healer: {
event: EVENTS.spring2020,
specialClass: 'healer',
set: 'spring2020IrisHealerSet',
text: t('armorSpecialSpring2020HealerText'),
notes: t('armorSpecialSpring2020HealerNotes', { con: 15 }),
value: 90,
con: 15,
},
};
const back = {
@@ -2477,6 +2518,7 @@ const head = {
notes: t('headSpecialSpring2019RogueNotes', { per: 9 }),
value: 60,
per: 9,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Warrior: {
event: EVENTS.spring2019,
@@ -2486,6 +2528,7 @@ const head = {
notes: t('headSpecialSpring2019WarriorNotes', { str: 9 }),
value: 60,
str: 9,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Mage: {
event: EVENTS.spring2019,
@@ -2495,6 +2538,7 @@ const head = {
notes: t('headSpecialSpring2019MageNotes', { per: 7 }),
value: 60,
per: 7,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Healer: {
event: EVENTS.spring2019,
@@ -2504,6 +2548,7 @@ const head = {
notes: t('headSpecialSpring2019HealerNotes', { int: 7 }),
value: 60,
int: 7,
canBuy: () => CURRENT_SEASON === 'spring',
},
summer2019Rogue: {
event: EVENTS.summer2019,
@@ -2626,6 +2671,42 @@ const head = {
value: 0,
canOwn: ownsItem('head_special_nye2019'),
},
spring2020Rogue: {
event: EVENTS.spring2020,
specialClass: 'rogue',
set: 'spring2020LapisLazuliRogueSet',
text: t('headSpecialSpring2020RogueText'),
notes: t('headSpecialSpring2020RogueNotes', { per: 9 }),
value: 60,
per: 9,
},
spring2020Warrior: {
event: EVENTS.spring2020,
specialClass: 'warrior',
set: 'spring2020BeetleWarriorSet',
text: t('headSpecialSpring2020WarriorText'),
notes: t('headSpecialSpring2020WarriorNotes', { str: 9 }),
value: 60,
str: 9,
},
spring2020Mage: {
event: EVENTS.spring2020,
specialClass: 'wizard',
set: 'spring2020PuddleMageSet',
text: t('headSpecialSpring2020MageText'),
notes: t('headSpecialSpring2020MageNotes', { per: 7 }),
value: 60,
per: 7,
},
spring2020Healer: {
event: EVENTS.spring2020,
specialClass: 'healer',
set: 'spring2020IrisHealerSet',
text: t('headSpecialSpring2020HealerText'),
notes: t('headSpecialSpring2020HealerNotes', { int: 7 }),
value: 60,
int: 7,
},
};
const headAccessory = {
@@ -3593,6 +3674,7 @@ const shield = {
notes: t('weaponSpecialSpring2019RogueNotes', { str: 8 }),
value: 80,
str: 8,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Warrior: {
event: EVENTS.spring2019,
@@ -3602,6 +3684,7 @@ const shield = {
notes: t('shieldSpecialSpring2019WarriorNotes', { con: 7 }),
value: 70,
con: 7,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Healer: {
event: EVENTS.spring2019,
@@ -3611,6 +3694,7 @@ const shield = {
notes: t('shieldSpecialSpring2019HealerNotes', { con: 9 }),
value: 70,
con: 9,
canBuy: () => CURRENT_SEASON === 'spring',
},
summer2019Rogue: {
event: EVENTS.summer2019,
@@ -3709,6 +3793,33 @@ const shield = {
value: 70,
con: 9,
},
spring2020Rogue: {
event: EVENTS.spring2020,
specialClass: 'rogue',
set: 'spring2020LapisLazuliRogueSet',
text: t('weaponSpecialSpring2020RogueText'),
notes: t('weaponSpecialSpring2020RogueNotes', { str: 8 }),
value: 80,
str: 8,
},
spring2020Warrior: {
event: EVENTS.spring2020,
specialClass: 'warrior',
set: 'spring2020BeetleWarriorSet',
text: t('shieldSpecialSpring2020WarriorText'),
notes: t('shieldSpecialSpring2020WarriorNotes', { con: 7 }),
value: 70,
con: 7,
},
spring2020Healer: {
event: EVENTS.spring2020,
specialClass: 'healer',
set: 'spring2020IrisHealerSet',
text: t('shieldSpecialSpring2020HealerText'),
notes: t('shieldSpecialSpring2020HealerNotes', { con: 9 }),
value: 70,
con: 9,
},
};
const weapon = {
@@ -4702,6 +4813,7 @@ const weapon = {
notes: t('weaponSpecialSpring2019RogueNotes', { str: 8 }),
value: 80,
str: 8,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Warrior: {
event: EVENTS.spring2019,
@@ -4711,6 +4823,7 @@ const weapon = {
notes: t('weaponSpecialSpring2019WarriorNotes', { str: 15 }),
value: 90,
str: 15,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Mage: {
event: EVENTS.spring2019,
@@ -4722,6 +4835,7 @@ const weapon = {
value: 160,
int: 15,
per: 7,
canBuy: () => CURRENT_SEASON === 'spring',
},
spring2019Healer: {
event: EVENTS.spring2019,
@@ -4731,6 +4845,7 @@ const weapon = {
notes: t('weaponSpecialSpring2019HealerNotes', { int: 9 }),
value: 90,
int: 9,
canBuy: () => CURRENT_SEASON === 'spring',
},
summer2019Rogue: {
event: EVENTS.summer2019,
@@ -4851,6 +4966,44 @@ const weapon = {
value: 90,
int: 9,
},
spring2020Rogue: {
event: EVENTS.spring2020,
specialClass: 'rogue',
set: 'spring2020LapisLazuliRogueSet',
text: t('weaponSpecialSpring2020RogueText'),
notes: t('weaponSpecialSpring2020RogueNotes', { str: 8 }),
value: 80,
str: 8,
},
spring2020Warrior: {
event: EVENTS.spring2020,
specialClass: 'warrior',
set: 'spring2020BeetleWarriorSet',
text: t('weaponSpecialSpring2020WarriorText'),
notes: t('weaponSpecialSpring2020WarriorNotes', { str: 15 }),
value: 90,
str: 15,
},
spring2020Mage: {
event: EVENTS.spring2020,
specialClass: 'wizard',
set: 'spring2020PuddleMageSet',
twoHanded: true,
text: t('weaponSpecialSpring2020MageText'),
notes: t('weaponSpecialSpring2020MageNotes', { int: 15, per: 7 }),
value: 160,
int: 15,
per: 7,
},
spring2020Healer: {
event: EVENTS.spring2020,
specialClass: 'healer',
set: 'spring2020IrisHealerSet',
text: t('weaponSpecialSpring2020HealerText'),
notes: t('weaponSpecialSpring2020HealerNotes', { int: 9 }),
value: 90,
int: 9,
},
};
export {
@@ -56,7 +56,7 @@ const featuredItems = {
},
];
},
seasonal: 'winter2019Warrior',
seasonal: 'spring2019Rogue',
timeTravelers: [
// TODO
],
@@ -1,16 +1,21 @@
// import { SEASONAL_SETS } from '../content/constants';
import { SEASONAL_SETS } from '../content/constants';
export default {
opened: false,
opened: true,
currentSeason: 'Closed',
currentSeason: 'Spring',
dateRange: { start: '2019-09-24', end: '2019-10-31' },
dateRange: { start: '2020-03-19', end: '2020-04-30' },
availableSets: [
...SEASONAL_SETS.spring,
],
pinnedSets: {
healer: 'spring2020IrisHealerSet',
rogue: 'spring2020LapisLazuliRogueSet',
warrior: 'spring2020BeetleWarriorSet',
wizard: 'spring2020PuddleMageSet',
},
availableSpells: [
@@ -19,5 +24,5 @@ export default {
availableQuests: [
],
featuredSet: 'fall2018AlterEgoSet',
featuredSet: 'spring2019OrchidWarriorSet',
};