ships.Interface.ArmourMetrics - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / ArmourMetrics
Defined in: src/ships/armour.ts:109
A build's armour: hit points, where they come from, and what the hull resists.
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.
readonlybulkheads:number
Defined in: src/ships/armour.ts:113
What the bulkhead alone gives — baseArmour × (1 + hullBoost).
readonlyeffectiveHitPoints: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%.
readonlyhitPoints:number
Defined in: src/ships/armour.ts:111
Total hull hit points.
readonlymoduleArmour:number
Defined in: src/ships/armour.ts:134
Hit points the module reinforcement packages add to the modules themselves.
readonlymoduleProtection: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.
readonlyreinforcement:number
Defined in: src/ships/armour.ts:115
What the hull reinforcement packages add.
readonlyresistances:DamageTypeValues
Defined in: src/ships/armour.ts:126
Effective resistances, bulkhead and reinforcement stacked with diminishing returns.
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.