ships.Function.systemsResistance - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / systemsResistance
systemsResistance(
pips):number
Defined in: src/ships/resistances.ts:276
The extra shield resistance pips to SYS buy, on top of the generator and boosters.
number
Pips to the systems capacitor, 0–4. Fractional pips are allowed —
the game's own curve is continuous.
number
The resistance the pips add, as a fraction: 0 at no pips rising to 0.6
(60%) at four, following 0.6 × (pips / 4) ^ 0.85.
If pips is not a finite number in [0, 4].
This applies to every damage type including absolute, and multiplies with the
shield's own resistance rather than adding to it: incoming damage is scaled by
(1 − shieldResistance) × (1 − sysResistance).
import { systemsResistance } from '@elite-dangerous-almanac/core/ships/resistances';
systemsResistance(0); // -> 0
systemsResistance(2); // -> 0.333
systemsResistance(4); // -> 0.6