pistol constant
WeaponDef
const pistol
Implementation
static const WeaponDef pistol = WeaponDef(
loudness: 16.0,
name: 'Pistol',
behaviour: HitscanBehaviour(),
ammo: AmmoType.bullets,
damage: 14.0,
shotsPerSecond: 4.0,
range: 120.0,
falloffStart: 25.0,
falloffEnd: 70.0,
minimumDamageFraction: 0.4,
// Half a degree a shot, back down in a fifth of a second. Four a second is
// a rate a player can hold, so the sight flinches rather than climbing.
recoil: 0.009,
);