From 662214c8535ed040a9d48b7b7631703742ed3243 Mon Sep 17 00:00:00 2001 From: Peter Sorger Date: Fri, 15 Feb 2013 08:50:15 +0100 Subject: [PATCH] fixed AP Gain calculation sorry, I messed it up a bit while rewriting it to constants issue #166 --- code/portal_detail_display_tools.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/portal_detail_display_tools.js b/code/portal_detail_display_tools.js index 292d5316..e4639cd4 100644 --- a/code/portal_detail_display_tools.js +++ b/code/portal_detail_display_tools.js @@ -161,7 +161,7 @@ window.getDestroyAP = function(d) { t += linkCount + '×\tLinks\t= ' + digits(linkAp) + '\n'; t += fieldCount + '×\tFields\t= ' + digits(fieldAp) + '\n'; t += '1×\tCapture\t= ' + CAPTURE_PORTAL + '\n'; - t += '8×\tDeploy\t= ' + DEPLOY_RESONATOR + '\n'; + t += '8×\tDeploy\t= ' + (8*DEPLOY_RESONATOR) + '\n'; t += '1×\tBonus\t= ' + COMPLETION_BONUS + '\n'; t += 'Sum: ' + digits(sum) + ' AP'; return '' + digits(text) + '';