chore(content): add 2022 Fall Festival (#14244)

* chore(submodule): add August 2022 Mystery Items

* update(content): add 2022 Fall Festival content

* update(content): add 2022 Fall Festival content

* update(content): update event dates for release

* fix(lint): remove extra spaces
also correct typo in gear string keys

* feat(content): remaining descriptions

* fix(event): correct spell availability

* fix(test): work around first-match logic

Co-authored-by: Sabe Jones <sabrecat@gmail.com>
Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
Natalie L
2022-09-19 17:55:53 -04:00
committed by GitHub
parent 2c29310466
commit f030135c82
11 changed files with 310 additions and 29 deletions

View File

@@ -325,7 +325,7 @@ spells.special = {
target: 'user',
notes: t('spellSpecialSpookySparklesNotes'),
canOwn () {
return moment().isBetween('2021-10-12T08:00-04:00', EVENTS.fall2021.end);
return moment().isBetween('2021-10-11T08:00-04:00', EVENTS.fall2022.end);
},
cast (user, target, req) {
if (!user.items.special.spookySparkles) throw new NotAuthorized(t('spellNotOwned')(req.language));