fixed AP Gain calculation

sorry, I messed it up a bit while rewriting it to constants
issue #166
This commit is contained in:
Peter Sorger 2013-02-15 08:50:15 +01:00
parent 98f22c4e48
commit 662214c853

View File

@ -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 '<tt title="'+t+'">' + digits(text) + '</tt>';