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:
Natalie
2024-03-13 17:34:41 -04:00
committed by GitHub
parent 8c7a0b4861
commit 3e5226de67
12 changed files with 317 additions and 36 deletions

View File

@@ -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));