mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Removed user.stats.lvl check before attribution
This commit is contained in:
@@ -2282,7 +2282,7 @@ api.wrap = function(user, main) {
|
||||
tnl = api.tnl(user.stats.lvl);
|
||||
user.stats.hp = 50;
|
||||
var totalStatPoints = user.stats.str + user.stats.int + user.stats.con + user.stats.per;
|
||||
if (user.stats.lvl > api.maxLevel && totalPoints >= 100 ) {
|
||||
if (totalStatPoints >= api.maxLevel) {
|
||||
continue;
|
||||
}
|
||||
if (user.preferences.automaticAllocation) {
|
||||
|
||||
Reference in New Issue
Block a user