Skip to content

ships.Function.combinedRateOfFire

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

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

Function: combinedRateOfFire()

combinedRateOfFire(weapon): number | undefined

Defined in: src/ships/weapons.ts:261

The combined rate of fire a weapon's firing cycle implies — the journal's own RateOfFire, rebuilt from its parts.

A cycle fires burstRounds shots 1 / burstRateOfFire apart, then waits out the burstInterval before the next one. chargeTime is the delay before a shot lands, not part of the cadence Frontier reports as RateOfFire.

Parameters

weapon

WeaponStats

The weapon's stats, post-engineering.

Returns

number | undefined

Shots per second, or undefined for a continuous-fire weapon (no burstInterval) or a cycle that does not resolve to a positive time.

Remarks

Use this after engineering has moved a burst stat: a recipe that gives a weapon a two-round burst changes the rate of fire without naming it. weaponMetrics takes rateOfFire as given, so recompute it first if you have changed the parts.

Example

import { combinedRateOfFire } from '@elite-dangerous-almanac/core/ships/weapons';

// A small burst laser: three shots at 15/s, then half a second's wait
combinedRateOfFire({ burstInterval: 0.5, burstRounds: 3, burstRateOfFire: 15 }); // -> 4.74

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