mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 11:40:25 +00:00
Remove hp & exp logging
This commit is contained in:
parent
3a155fb306
commit
961d06a5ee
2 changed files with 0 additions and 4 deletions
|
|
@ -392,7 +392,6 @@ ready(function(model) {
|
|||
dmg = user.get('items.weapon') * .03;
|
||||
dmg += user.get('stats.lvl') * .03;
|
||||
modified = value + (value * dmg);
|
||||
console.log(modified, 'exp modified');
|
||||
return modified;
|
||||
};
|
||||
hpModifier = function(value) {
|
||||
|
|
@ -401,7 +400,6 @@ ready(function(model) {
|
|||
ac = user.get('items.armor') * .03;
|
||||
ac += user.get('stats.lvl') * .03;
|
||||
modified = value - (value * ac);
|
||||
console.log(modified, 'hp modified');
|
||||
return modified;
|
||||
};
|
||||
exports.vote = function(e, el, next) {
|
||||
|
|
|
|||
|
|
@ -287,7 +287,6 @@ ready (model) ->
|
|||
dmg = user.get('items.weapon') * .03 # each new weapon adds an additional 3% experience
|
||||
dmg += user.get('stats.lvl') * .03 # same for lvls
|
||||
modified = value + (value * dmg)
|
||||
console.log modified, 'exp modified'
|
||||
return modified
|
||||
|
||||
# Calculates HP-loss modification based on armor & lvl
|
||||
|
|
@ -296,7 +295,6 @@ ready (model) ->
|
|||
ac = user.get('items.armor') * .03 # each new armor blocks an additional 3% damage
|
||||
ac += user.get('stats.lvl') * .03 # same for lvls
|
||||
modified = value - (value * ac)
|
||||
console.log modified, 'hp modified'
|
||||
return modified
|
||||
|
||||
exports.vote = (e, el, next) ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue