Removed user.stats.lvl check before attribution

This commit is contained in:
Keith Holliday
2015-11-29 10:00:02 -06:00
parent 298df73619
commit ff1f63da9a

View File

@@ -2282,7 +2282,7 @@ api.wrap = function(user, main) {
tnl = api.tnl(user.stats.lvl); tnl = api.tnl(user.stats.lvl);
user.stats.hp = 50; user.stats.hp = 50;
var totalStatPoints = user.stats.str + user.stats.int + user.stats.con + user.stats.per; 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; continue;
} }
if (user.preferences.automaticAllocation) { if (user.preferences.automaticAllocation) {