ships.Function.stackArmourResistance - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / stackArmourResistance
stackArmourResistance(
bulkhead,reinforcements?):number
Defined in: src/ships/resistances.ts:248
A hull stack's effective resistance to one damage type.
number
The fitted armour's resistance to this damage type, as a fraction
(lightweight alloy is -0.2 to kinetic — a weakness).
readonly number[] = []
Each fitted hull reinforcement package's resistance to the same type, as fractions.
number
The effective resistance, as a fraction.
import { stackArmourResistance } from '@elite-dangerous-almanac/core/ships/resistances';
// Reactive surface composite (+25% kinetic) with three 1.5% hull reinforcements
stackArmourResistance(0.25, [0.015, 0.015, 0.015]); // -> 0.28…