From 2419868f547a5330a45ed7a3915450fbe1e25808 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Wed, 18 Dec 2013 21:27:48 +0000 Subject: [PATCH] portal details ap: missed change from earlier commit - now funally includes field counts in calculations --- code/portal_detail_display_tools.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/portal_detail_display_tools.js b/code/portal_detail_display_tools.js index 431a013d..34cd3088 100644 --- a/code/portal_detail_display_tools.js +++ b/code/portal_detail_display_tools.js @@ -225,8 +225,8 @@ window.renderResonatorDetails = function(slot, level, nrg, dist, nick) { } // calculate AP gain from destroying portal and then capturing it by deploying resonators -window.getAttackApGainText = function(d) { - var breakdown = getAttackApGain(d); +window.getAttackApGainText = function(d,fieldCount) { + var breakdown = getAttackApGain(d,fieldCount); var totalGain = breakdown.enemyAp; function tt(text) {