mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37:22 +01:00
update model maxHealth
This commit is contained in:
@@ -356,7 +356,7 @@ var UserSchema = new Schema({
|
||||
name: String,
|
||||
},
|
||||
stats: {
|
||||
hp: {type: Number, 'default': 50},
|
||||
hp: {type: Number, 'default': shared.maxHealth},
|
||||
mp: {type: Number, 'default': 10},
|
||||
exp: {type: Number, 'default': 0},
|
||||
gp: {type: Number, 'default': 0},
|
||||
|
||||
Reference in New Issue
Block a user