diff --git a/README.md b/README.md index cbd153fc..a91b6b62 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Features - hack range (yellow circle) and link range (large red circle) for portals. Click on the range link in the sidebar to zoom to link range. - double clicking a portal zooms in and focuses it - display of XM and AP rewards for redeemed passcodes -- [extend it even more with the use of plugins](https://github.com/breunigs/ingress-intel-total-conversion/plugins) +- [extend it even more with the use of plugins](https://github.com/breunigs/ingress-intel-total-conversion/tree/gh-pages/plugins) Install @@ -78,6 +78,7 @@ Please do! [epf](https://github.com/epf), [integ3r](https://github.com/integ3r), [JasonMillward](https://github.com/JasonMillward), +[jonatkins](https://github.com/jonatkins), [mledoze](https://github.com/mledoze), [OshiHidra](https://github.com/OshiHidra), [phoenixsong6](https://github.com/phoenixsong6), @@ -89,7 +90,6 @@ Please do! [Xelio](https://github.com/Xelio), [ZauberNerd](https://github.com/ZauberNerd) - Hacking ------- 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) + ''; diff --git a/code/utils_misc.js b/code/utils_misc.js index ef3a02f1..77b4ee62 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -207,7 +207,7 @@ window.setPermaLink = function(elm) { var c = map.getCenter(); var lat = Math.round(c.lat*1E6); var lng = Math.round(c.lng*1E6); - var qry = 'latE6='+lat+'&lngE6='+lng+'&z=' + map.getZoom(); + var qry = 'latE6='+lat+'&lngE6='+lng+'&z=' + (map.getZoom()-1); $(elm).attr('href', 'http://www.ingress.com/intel?' + qry); }