portal details ap: missed change from earlier commit - now funally includes field counts in calculations

This commit is contained in:
Jon Atkins 2013-12-18 21:27:48 +00:00
parent ab7f41aa1d
commit 2419868f54

View File

@ -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) {