portal details ap: missed change from earlier commit - now funally includes field counts in calculations
This commit is contained in:
parent
ab7f41aa1d
commit
2419868f54
@ -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
|
// calculate AP gain from destroying portal and then capturing it by deploying resonators
|
||||||
window.getAttackApGainText = function(d) {
|
window.getAttackApGainText = function(d,fieldCount) {
|
||||||
var breakdown = getAttackApGain(d);
|
var breakdown = getAttackApGain(d,fieldCount);
|
||||||
var totalGain = breakdown.enemyAp;
|
var totalGain = breakdown.enemyAp;
|
||||||
|
|
||||||
function tt(text) {
|
function tt(text) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user