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