mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
Merge branch 'release' into develop
This commit is contained in:
commit
f538998aca
4 changed files with 5 additions and 5 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"version": "4.208.0",
|
||||
"version": "4.208.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
|
||||
"version": "4.208.0",
|
||||
"version": "4.208.1",
|
||||
"main": "./website/server/index.js",
|
||||
"dependencies": {
|
||||
"@babel/core": "^7.15.5",
|
||||
|
|
|
|||
|
|
@ -325,7 +325,7 @@ spells.special = {
|
|||
target: 'user',
|
||||
notes: t('spellSpecialSpookySparklesNotes'),
|
||||
canOwn () {
|
||||
return false;
|
||||
return moment().isBetween('2021-10-12T08:00-04:00', EVENTS.fall2021.end);
|
||||
},
|
||||
cast (user, target, req) {
|
||||
if (!user.items.special.spookySparkles) throw new NotAuthorized(t('spellNotOwned')(req.language));
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ export default {
|
|||
}
|
||||
: {},
|
||||
|
||||
availableSpells: SHOP_OPEN && moment().isBefore('2021-07-06T08:00-04:00')
|
||||
availableSpells: SHOP_OPEN && moment().isBetween('2021-10-12T08:00-04:00', CURRENT_EVENT.end)
|
||||
? [
|
||||
'seafoam',
|
||||
'spookySparkles',
|
||||
]
|
||||
: [],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue