mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 14:17:22 +01:00
fix(stats): allow negative EXP
This commit is contained in:
@@ -617,7 +617,7 @@ export default new Schema({
|
||||
stats: {
|
||||
hp: { $type: Number, default: shared.maxHealth },
|
||||
mp: { $type: Number, default: 10, min: 0 },
|
||||
exp: { $type: Number, default: 0, min: 0 },
|
||||
exp: { $type: Number, default: 0 },
|
||||
gp: { $type: Number, default: 0, min: 0 },
|
||||
lvl: {
|
||||
$type: Number,
|
||||
|
||||
Reference in New Issue
Block a user