Revert "assign correct number of attribute points after leveling up - fixes 6434"

This reverts commit 53e2939ad9.
This commit is contained in:
Alys
2016-01-05 07:05:26 +10:00
parent 53e2939ad9
commit ece0de51cc

View File

@@ -2295,7 +2295,7 @@ api.wrap = function(user, main) {
if (user.preferences.automaticAllocation) {
user.fns.autoAllocate();
} else {
user.stats.points = (user.stats.lvl > MAX_LEVEL ? MAX_STAT_POINTS : user.stats.lvl) - allocatedStatPoints;
user.stats.points = MAX_STAT_POINTS - allocatedStatPoints;
if (user.stats.points < 0) {
user.stats.points = 0;
}