From 961d06a5ee0f34696c31233040c80aa5d3eaad6b Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Mon, 16 Jul 2012 17:06:44 -0500 Subject: [PATCH] Remove hp & exp logging --- lib/app/index.js | 2 -- src/app/index.coffee | 2 -- 2 files changed, 4 deletions(-) diff --git a/lib/app/index.js b/lib/app/index.js index d87ece74db..0b061e07e2 100644 --- a/lib/app/index.js +++ b/lib/app/index.js @@ -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) { diff --git a/src/app/index.coffee b/src/app/index.coffee index 60dd5f6d43..f67f502c2c 100644 --- a/src/app/index.coffee +++ b/src/app/index.coffee @@ -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) ->