mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user