Merge pull request #168 from sorgo/patch-1

fixed AP Gain calculation for deploying resonators
This commit is contained in:
Stefan Breunig 2013-02-15 00:13:25 -08:00
commit d246c70ad2

View File

@ -161,7 +161,7 @@ window.getDestroyAP = function(d) {
t += linkCount + '×\tLinks\t= ' + digits(linkAp) + '\n'; t += linkCount + '×\tLinks\t= ' + digits(linkAp) + '\n';
t += fieldCount + '×\tFields\t= ' + digits(fieldAp) + '\n'; t += fieldCount + '×\tFields\t= ' + digits(fieldAp) + '\n';
t += '1×\tCapture\t= ' + CAPTURE_PORTAL + '\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 += '1×\tBonus\t= ' + COMPLETION_BONUS + '\n';
t += 'Sum: ' + digits(sum) + ' AP'; t += 'Sum: ' + digits(sum) + ' AP';
return '<tt title="'+t+'">' + digits(text) + '</tt>'; return '<tt title="'+t+'">' + digits(text) + '</tt>';