Skip to content

ships.Interface.WeaponMetrics

github-actions[bot] edited this page Aug 26, 2026 · 74 revisions

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

Interface: WeaponMetrics

Defined in: src/ships/weapons.ts:158

What one weapon does per second, sustained and unsustained.

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

continuous

readonly continuous: boolean

Defined in: src/ships/weapons.ts:197

Whether the weapon fires continuously (a beam or mining laser).


damageByType

readonly damageByType: DamageSplit

Defined in: src/ships/weapons.ts:193

damagePerSecond split by damage type.

Remarks

Uses the split supplied in WeaponStats. BuildMetrics.weaponMetrics resolves damage-converting experimental effects, Plasma Conversion blueprints and a journal's own damage-type modifiers before calling this calculation, so fitted conversions report their resulting split.


damagePerSecond

readonly damagePerSecond: number

Defined in: src/ships/weapons.ts:166

Damage per second while firing, reloads ignored.


damagePerShot

readonly damagePerShot: number

Defined in: src/ships/weapons.ts:160

Damage of one shot — damage × roundsPerShot.


energyPerSecond

readonly energyPerSecond: number

Defined in: src/ships/weapons.ts:170

Weapons-capacitor draw per second, in MW, reloads ignored.


heatPerSecond

readonly heatPerSecond: number

Defined in: src/ships/weapons.ts:174

Heat per second while firing, reloads ignored.


powerDraw

readonly powerDraw: number

Defined in: src/ships/weapons.ts:183

Power draw, in megawatts — what the weapon asks of the power plant when deployed.


rateOfFire

readonly rateOfFire: number

Defined in: src/ships/weapons.ts:162

Shots per second; 1 on a continuous-fire weapon, whose stats are per second.


sustainedDamageByType

readonly sustainedDamageByType: DamageSplit

Defined in: src/ships/weapons.ts:195

sustainedDamagePerSecond split by damage type.


sustainedDamagePerSecond

readonly sustainedDamagePerSecond: number

Defined in: src/ships/weapons.ts:168

Damage per second averaged over reloads — the figure a long fight sees.


sustainedEnergyPerSecond

readonly sustainedEnergyPerSecond: number

Defined in: src/ships/weapons.ts:172

Weapons-capacitor draw per second, in MW, averaged over reloads.


sustainedHeatPerSecond

readonly sustainedHeatPerSecond: number

Defined in: src/ships/weapons.ts:176

Heat per second averaged over reloads.


sustainedRateOfFire

readonly sustainedRateOfFire: number

Defined in: src/ships/weapons.ts:164

Shots per second averaged over reloads. Equals rateOfFire when nothing reloads.


thermalLoad

readonly thermalLoad: number

Defined in: src/ships/weapons.ts:181

The module's thermal-load stat: per discharge for a discrete weapon, already per second for a continuous beam or mining laser, in the game's thermal-load units.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally