mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
update(content): add 2024 Spring Fling (#15168)
* update(content): add spring fling images, items, and placeholder text * update(dates) : set canonical dates * update(dates/quests): set canonical dates for both, add egg quest availability * update(date): update quest availability start date * update(content): add magic hatching potions * fix(dates): canonical dates * fix(event): add correct event name to potions * fix(dates): canonical dates * fix(dates): fix UTC offset, remove package.json and package-lock.json * fix(dates): canonical * fix: re-added package.json and package-lock.json * update(content): add gear strings * update(content): add Rogue off-hand string, canonical dates
This commit is contained in:
@@ -352,9 +352,9 @@ spells.special = {
|
||||
previousPurchase: true,
|
||||
target: 'user',
|
||||
notes: t('spellSpecialShinySeedNotes'),
|
||||
event: EVENTS.spring2023,
|
||||
event: EVENTS.spring2024,
|
||||
canOwn () {
|
||||
return moment().isBetween('2023-04-18T08:00-05:00', EVENTS.spring2023.end);
|
||||
return moment().isBetween('2024-04-18T08:00-05:00', EVENTS.spring2024.end);
|
||||
},
|
||||
cast (user, target, req) {
|
||||
if (!user.items.special.shinySeed) throw new NotAuthorized(t('spellNotOwned')(req.language));
|
||||
|
||||
Reference in New Issue
Block a user