mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-05 12:02:13 +00:00
Revert "restore MP on level up, and some additional MP on cron (based on"
This reverts commit b98cfdb066.
This commit is contained in:
parent
b98cfdb066
commit
1ba7700f43
2 changed files with 0 additions and 9 deletions
5
dist/habitrpg-shared.js
vendored
5
dist/habitrpg-shared.js
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue