Remove hp & exp logging

This commit is contained in:
Tyler Renelle 2012-07-16 17:06:44 -05:00
parent 3a155fb306
commit 961d06a5ee
2 changed files with 0 additions and 4 deletions

View file

@ -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) {

View file

@ -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) ->