Skip to content

ships.Interface.ArmourMetrics

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

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

Interface: ArmourMetrics

Defined in: src/ships/armour.ts:109

A build's armour: hit points, where they come from, and what the hull resists.

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

bulkheads

readonly bulkheads: number

Defined in: src/ships/armour.ts:113

What the bulkhead alone gives — baseArmour × (1 + hullBoost).


effectiveHitPoints

readonly effectiveHitPoints: DamageTypeValues

Defined in: src/ships/armour.ts:132

Effective hit points against each damage type — hitPoints / (1 − resistance), the raw damage of that type the hull can soak. Infinity where a resistance reaches 100%.


hitPoints

readonly hitPoints: number

Defined in: src/ships/armour.ts:111

Total hull hit points.


moduleArmour

readonly moduleArmour: number

Defined in: src/ships/armour.ts:134

Hit points the module reinforcement packages add to the modules themselves.


moduleProtection

readonly moduleProtection: number

Defined in: src/ships/armour.ts:139

The fraction of module damage the module reinforcement packages absorb, stacked multiplicatively (0.3 = 30%). 0 with none fitted.


reinforcement

readonly reinforcement: number

Defined in: src/ships/armour.ts:115

What the hull reinforcement packages add.


resistances

readonly resistances: DamageTypeValues

Defined in: src/ships/armour.ts:126

Effective resistances, bulkhead and reinforcement stacked with diminishing returns.

Remarks

Fractions rather than percentages, and unrounded: the stacking is floating-point arithmetic, so a nominal −20% reads as -0.19999999999999996 rather than -0.2. Round where the figure is displayed, not before it is composed further — ArmourMetrics.effectiveHitPoints is derived from exactly these values.

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