DotNet.Ships.Record.ShieldMetrics - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Ships / ShieldMetrics

Record: ShieldMetrics

Defined in: dotnet/src/EliteDangerousAlmanac/Ships/Shields.cs:145

A build's shield strength, where it comes from, and what it resists.

Remarks

The resistances are fractions rather than percentages, and they are unrounded. The stacking is floating-point arithmetic, so a nominal weakness of a fifth reads a hair off it. Round where the figure is displayed, not before it is composed further.

Constructors

new ShieldMetrics()

new ShieldMetrics(Strength, Generator, Boosters, Reinforcement, MassCurveMultiplier, BoostMultiplier, Resistances, EffectiveHitPoints)

Parameters

Strength

double

The total shield strength, in megajoules.

Generator

double

The generator's own contribution, in megajoules.

Boosters

double

What the boosters add on top of the generator, in megajoules.

Reinforcement

double

What Guardian shield reinforcement packages add, in megajoules. It is zero with no generator, whatever was passed, because a package has no shield to reinforce.

MassCurveMultiplier

double

The generator's strength multiplier at this hull mass.

BoostMultiplier

double

The boosters' combined multiplier, which is one with none fitted. It is one with no generator too, whatever boosters are fitted, because there is no generator strength to multiply.

Resistances

DamageTypeValues

The effective resistances, generator and boosters stacked with diminishing returns. The SYS pips are not in these: they belong to the capacitor, and ShieldCapacitor folds them in.

EffectiveHitPoints

DamageTypeValues

The raw damage of each type the shield can soak, in megajoules. It is infinite where a resistance reaches the whole of that damage type.

Properties

Boosters

Boosters: double

What the boosters add on top of the generator, in megajoules.

BoostMultiplier

BoostMultiplier: double

The boosters' combined multiplier, which is one with none fitted. It is one with no generator too, whatever boosters are fitted, because there is no generator strength to multiply.

EffectiveHitPoints

EffectiveHitPoints: DamageTypeValues

The raw damage of each type the shield can soak, in megajoules. It is infinite where a resistance reaches the whole of that damage type.

Generator

Generator: double

The generator's own contribution, in megajoules.

MassCurveMultiplier

MassCurveMultiplier: double

The generator's strength multiplier at this hull mass.

Reinforcement

Reinforcement: double

What Guardian shield reinforcement packages add, in megajoules. It is zero with no generator, whatever was passed, because a package has no shield to reinforce.

Resistances

Resistances: DamageTypeValues

The effective resistances, generator and boosters stacked with diminishing returns. The SYS pips are not in these: they belong to the capacitor, and ShieldCapacitor folds them in.

Strength

Strength: double

The total shield strength, in megajoules.

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