mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-18 12:02:54 +00:00
Removed user.stats.lvl check before attribution
This commit is contained in:
parent
298df73619
commit
ff1f63da9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue