mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
fix(event): update Snowball dates
This commit is contained in:
@@ -289,7 +289,7 @@ spells.special = {
|
|||||||
target: 'user',
|
target: 'user',
|
||||||
notes: t('spellSpecialSnowballAuraNotes'),
|
notes: t('spellSpecialSnowballAuraNotes'),
|
||||||
canOwn () {
|
canOwn () {
|
||||||
return moment().isBetween('2021-12-30T08:00-04:00', EVENTS.winter2022.end);
|
return moment().isBetween('2022-12-27T08:00-05:00', EVENTS.winter2023.end);
|
||||||
},
|
},
|
||||||
cast (user, target, req) {
|
cast (user, target, req) {
|
||||||
if (!user.items.special.snowball) throw new NotAuthorized(t('spellNotOwned')(req.language));
|
if (!user.items.special.snowball) throw new NotAuthorized(t('spellNotOwned')(req.language));
|
||||||
|
|||||||
Reference in New Issue
Block a user