ships.Interface.WeaponsCapacitorMetrics - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / ships / WeaponsCapacitorMetrics

Interface: WeaponsCapacitorMetrics

Defined in: src/ships/weapons-capacitor.ts:45

Recharge, drain and endurance of one weapons capacitor.

Remarks

Frozen — nested records and lists included — so a result can be held, cached and shared without a defensive copy. Derive a changed figure with a spread rather than by assigning into one.

Properties

capacity

readonly capacity: number

Defined in: src/ships/weapons-capacitor.ts:49

WEP-capacitor capacity, in megajoules.


netDrainRate

readonly netDrainRate: number

Defined in: src/ships/weapons-capacitor.ts:55

Capacity lost per second after recharge, floored at 0, in megajoules per second.


rechargeRate

readonly rechargeRate: number

Defined in: src/ships/weapons-capacitor.ts:51

Actual recharge rate at weaponsPips, in megajoules per second.


sustainedEnergyPerSecond

readonly sustainedEnergyPerSecond: number

Defined in: src/ships/weapons-capacitor.ts:53

Sustained draw across the firing weapons, in megajoules per second.


timeToDrain

readonly timeToDrain: number

Defined in: src/ships/weapons-capacitor.ts:57

Seconds from full to empty, or Infinity when recharge keeps pace with draw.


weaponsPips

readonly weaponsPips: number

Defined in: src/ships/weapons-capacitor.ts:47

Pips assigned to WEP for this result, in [0, 4].

⚠️ **GitHub.com Fallback** ⚠️