Skip to content

ships.Interface.DamageResistanceParams

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

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

Interface: DamageResistanceParams

Defined in: src/ships/resistances.ts:86

The four resistances one fitted module contributes, each an optional fraction of that damage type removed: 0.4 is 40% resisted, and a negative value is a weakness. A field the record does not carry counts as 0 — no resistance and no weakness.

Remarks

The four fittings that carry resistances inherit these fields rather than restating them — ShieldGeneratorParams, ShieldBoosterParams, BulkheadParams and HullReinforcementParams — so an OutfittingModule record, which spells them the same way, satisfies each of them as it comes. A module reinforcement package carries none of these four: what it absorbs is moduleProtection, one type-agnostic figure over module damage.

This is the input shape, one module at a time. DamageResistances is the output: four required figures for a whole stack, keyed by bare damage type.

Extended by

Properties

causticResistance?

readonly optional causticResistance?: number

Defined in: src/ships/resistances.ts:94

Caustic resistance, as a fraction (negative is a weakness). Defaults to 0.


explosiveResistance?

readonly optional explosiveResistance?: number

Defined in: src/ships/resistances.ts:92

Explosive resistance, as a fraction (negative is a weakness). Defaults to 0.


kineticResistance?

readonly optional kineticResistance?: number

Defined in: src/ships/resistances.ts:88

Kinetic resistance, as a fraction (negative is a weakness). Defaults to 0.


thermalResistance?

readonly optional thermalResistance?: number

Defined in: src/ships/resistances.ts:90

Thermal resistance, as a fraction (negative is a weakness). Defaults to 0.

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