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

@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.

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