Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

readWeaponNumber

readWeaponNumber(weapon, shooter, number): number

One of weapon‘s numbers as shooter fires it: the weapon’s own, with the base and modifiers of each of her stats it names for that number laid on top by the stats formula. Her stats’ bounds are not read, since they are in no one weapon’s units. A count of pellets or pierce is whole, rounded, with at least one pellet; no number falls below zero.

Parameter Type
weapon WeaponSettings
shooter Entity
number WeaponNumber

number