Revert "restore MP on level up, and some additional MP on cron (based on"

This reverts commit b98cfdb066.
This commit is contained in:
Tyler Renelle 2013-12-21 16:38:32 -07:00
parent b98cfdb066
commit 1ba7700f43
2 changed files with 0 additions and 9 deletions

View file

@ -11911,7 +11911,6 @@ var process=require("__browserify_process");(function() {
stats.exp = 0;
}
user.stats.hp = 50;
user.stats.mp = user._statsComputed.maxMP;
}
}
user.stats.exp = stats.exp;
@ -12066,10 +12065,6 @@ var process=require("__browserify_process");(function() {
stealth: 0,
streaks: false
};
user.stats.mp += Math.ceil(user._statsComputed.int * .15);
if (user.stats.mp > user._statsComputed.maxMP) {
user.stats.mp = user._statsComputed.maxMP;
}
return user;
},
preenUserHistory: function(minHistLen) {

View file

@ -970,7 +970,6 @@ api.wrap = (user) ->
if user.stats.lvl == 100
stats.exp = 0
user.stats.hp = 50
user.stats.mp = user._statsComputed.maxMP
user.stats.exp = stats.exp
# Set flags when they unlock features
@ -1082,9 +1081,6 @@ api.wrap = (user) ->
user.markModified? 'history'
user.markModified? 'dailys' # covers dailys.*.history
user.stats.buffs = {str:0,int:0,per:0,con:0,stealth:0,streaks:false}
user.stats.mp += Math.ceil(user._statsComputed.int * .15)
if user.stats.mp > user._statsComputed.maxMP
user.stats.mp = user._statsComputed.maxMP
user
# Registered users with some history