mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 21:27:23 +01:00
Merge branch '2023-winner-funderlamb' into release
by @CuriousMagpie
This commit is contained in:
@@ -277,7 +277,7 @@ spells.special = {
|
||||
target: 'user',
|
||||
notes: t('spellSpecialSnowballAuraNotes'),
|
||||
canOwn () {
|
||||
return moment().isBetween('2022-12-27T08:00-05:00', EVENTS.winter2023.end);
|
||||
return moment().isBetween('2024-01-09T08:00-05:00', EVENTS.winter2024.end);
|
||||
},
|
||||
cast (user, target, req) {
|
||||
if (!user.items.special.snowball) throw new NotAuthorized(t('spellNotOwned')(req.language));
|
||||
@@ -423,7 +423,7 @@ spells.special = {
|
||||
target: 'user',
|
||||
notes: t('nyeCardNotes'),
|
||||
canOwn () {
|
||||
return moment().isBetween('2022-12-28T08:00-05:00', '2023-01-02T20:00-05:00');
|
||||
return moment().isBetween(EVENTS.nye2023.start, EVENTS.nye2023.end);
|
||||
},
|
||||
cast (user, target) {
|
||||
if (user === target) {
|
||||
|
||||
Reference in New Issue
Block a user