mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
fix(content): auto rollout of potion didn't work?
This commit is contained in:
@@ -410,10 +410,7 @@ const premium = {
|
|||||||
canBuy: hasQuestAchievementFunction('blackPearl'),
|
canBuy: hasQuestAchievementFunction('blackPearl'),
|
||||||
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
_addlNotes: t('premiumPotionUnlimitedNotes'),
|
||||||
},
|
},
|
||||||
};
|
StainedGlass: {
|
||||||
|
|
||||||
if (moment().isAfter('2020-12-22T08:00-04:00')) {
|
|
||||||
premium.StainedGlass = {
|
|
||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionStainedGlass'),
|
text: t('hatchingPotionStainedGlass'),
|
||||||
limited: true,
|
limited: true,
|
||||||
@@ -424,8 +421,8 @@ if (moment().isAfter('2020-12-22T08:00-04:00')) {
|
|||||||
canBuy () {
|
canBuy () {
|
||||||
return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00');
|
return moment().isBetween('2020-12-22T08:00-04:00', '2021-01-31T20:00-04:00');
|
||||||
},
|
},
|
||||||
|
},
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
|
||||||
const wacky = {
|
const wacky = {
|
||||||
Veggie: {
|
Veggie: {
|
||||||
|
|||||||
Reference in New Issue
Block a user