ships.Function.effectiveWeaponThermalLoad - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / effectiveWeaponThermalLoad
effectiveWeaponThermalLoad(
thermalLoad,distributorDraw,weaponsCapacity,capacitorLevel):number
Defined in: src/ships/heat.ts:292
A weapon's thermal load once the weapons capacitor's state is folded in.
A shot the capacitor cannot pay for in full generates up to five times its listed thermal load — which is why a build that never overheats in a duel can cook itself in a wing fight, firing the same guns on an empty capacitor.
number
The weapon's thermal load, in the game's units.
number
Weapons-capacitor draw of one discharge, in megajoules.
number
The distributor's weapons-capacitor capacity, in megajoules.
number
How full the capacitor is, 0 (empty) through 1 (full).
number
The effective thermal load, between thermalLoad and five times it.
If any argument is not a finite non-negative number, or
capacitorLevel is above 1.
import { effectiveWeaponThermalLoad } from '@elite-dangerous-almanac/core/ships/heat';
effectiveWeaponThermalLoad(2.4, 2.6, 26, 1); // -> 3.36 a full capacitor barely notices
effectiveWeaponThermalLoad(2.4, 2.6, 26, 0); // -> 12 an empty one is five times the heat