March 2017 Content (#8594)

* feat(content): Mystery 032017, Shimmer Potions

* fix(date): end 4/19 not 30

* fix(dates): Floral after Shimmer
This commit is contained in:
Sabe Jones
2017-03-23 14:41:41 -05:00
parent febe21f1fb
commit 42dd85a49a
52 changed files with 37 additions and 8 deletions
@@ -151,6 +151,12 @@ let armor = {
mystery: '201612',
value: 0,
},
201703: {
text: t('armorMystery201703Text'),
notes: t('armorMystery201703Notes'),
mystery: '201703',
value: 0,
},
301404: {
text: t('armorMystery301404Text'),
notes: t('armorMystery301404Notes'),
@@ -430,6 +436,12 @@ let head = {
mystery: '201702',
value: 0,
},
201703: {
text: t('headMystery201703Text'),
notes: t('headMystery201703Notes'),
mystery: '201703',
value: 0,
},
301404: {
text: t('headMystery301404Text'),
notes: t('headMystery301404Notes'),
@@ -3,6 +3,8 @@ import defaults from 'lodash/defaults';
import each from 'lodash/each';
import t from './translation';
const CURRENT_SEASON = 'April';
let drops = {
Base: {
value: 2,
@@ -58,6 +60,12 @@ let premium = {
limited: true,
_season: 'valentines',
},
Shimmer: {
value: 2,
text: t('hatchingPotionShimmer'),
limited: true,
_season: 'April',
},
Floral: {
value: 2,
text: t('hatchingPotionFloral'),
@@ -118,11 +126,13 @@ each(premium, (pot, key) => {
notes: t('hatchingPotionNotes', {
potText: pot.text,
}),
_addlNotes: t(`${pot._season}EventAvailability`),
_addlNotes: t('eventAvailability', {
date: t(`dateEnd${pot._season}`),
}),
premium: true,
limited: false,
canBuy () {
return pot._season === 'regular';
return pot._season === CURRENT_SEASON;
},
});
});
@@ -150,6 +150,10 @@ let mysterySets = {
start: '2017-02-21',
end: '2017-03-02',
},
201703: {
start: '2017-03-23',
end: '2017-04-02',
},
301404: {
start: '3014-03-24',
end: '3014-04-02',