A_FireBlasterPL1

From ZDoom Wiki
Jump to navigation Jump to search

A_FireBlasterPL1
(no parameter)

Fires one hitscan attack dealing 4d8 damage using a BlasterPuff, and plays the sound "weapons/blastershoot" on the WEAPON channel. When holding fire, the first shot is accurate but the following have a random horizontal spread of up to 5.625°.

If vertical bullet spread for weapons is enabled, the function applies a random vertical spread of up to 3.549° in addition to the horizontal one.

This codepointer is restricted to Blaster and derived classes.