SPREAD namespace JJ2+

How a weapon spreads its shots

Enums

enum Spread { NORMAL = 0, ICE = 5, ICEPU = 4, RF = 3, RFNORMAL = 1, RFPU = 2, TOASTER = 8, GUN8 = 7, PEPPERSPRAY = 6 } JJ2+
How many bullets a weapon fires at once and where

Enum documentation

enum SPREAD::Spread JJ2+

How many bullets a weapon fires at once and where

Used by jjWEAPON::spread.

Enumerators
NORMAL

One bullet

ICE

NORMAL without a powerup, ICEPU with it

ICEPU

Two bullets, one where the player faces and one where it aims

RF

RFNORMAL without a powerup, RFPU with it

RFNORMAL

Two bullets, angled up and down

RFPU

Three bullets, angled up, straight and angled down

TOASTER

One bullet whose speed depends partly on jjPLAYER::fastfire

GUN8

NORMAL when the fireball gun is enabled, PEPPERSPRAY otherwise

PEPPERSPRAY

Two bullets of pepper spray