ships.Function.cellBankSummary - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / cellBankSummary
cellBankSummary(
banks):CellBankSummary
Defined in: src/ships/shield-recovery.ts:197
Aggregate fitted shield cell banks while retaining their individual power state.
readonly CellBankInput[]
Banks in the order their slots should be reported.
Frozen per-bank metrics and totals over powered banks. An empty input returns an empty bank list and zero totals.
If any bank's powered value is not a boolean.
import { cellBankSummary } from '@elite-dangerous-almanac/core/ships/shield-recovery';
cellBankSummary([{
slot: 'Slot01_Size6', symbol: 'bank', reinforcementRate: 12,
cells: 4, spinUp: 5, duration: 1, heat: 170, powered: true,
}]).totalRestorable; // -> 48