limit free rebirth to once every 45 days

This commit is contained in:
Matteo Pagliazzi
2019-06-17 20:37:18 +02:00
parent f987585cf1
commit 2cbb0a85a4
4 changed files with 26 additions and 4 deletions

View File

@@ -225,6 +225,7 @@ let schema = new Schema({
classSelected: {$type: Boolean, default: false},
mathUpdates: Boolean,
rebirthEnabled: {$type: Boolean, default: false},
lastFreeRebirth: Date,
levelDrops: {$type: Schema.Types.Mixed, default: () => {
return {};
}},