From 88dd7c68c8a211854f14e5bf8a98efe733d5a9d5 Mon Sep 17 00:00:00 2001 From: "Cathy J. Fitzpatrick" Date: Mon, 8 Apr 2013 01:55:31 -0600 Subject: [PATCH] Fix sign of point damage --- js/battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index 505c8b195..762e718ad 100644 --- a/js/battle.js +++ b/js/battle.js @@ -109,7 +109,7 @@ function Pokemon(species) { }; this.getFormattedRange = function (range, precision, separator) { if (range[0] === range[1]) { - return (range[0] * 100).toFixed(precision) + '%'; + return Math.abs(range[0] * 100).toFixed(precision) + '%'; } var lower, upper; if (precision === 0) {