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 committed by Philipp Schaefer
parent 110c38a63a
commit d8dc9d4722

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