A_FireMacePL1

This codepointer is restricted to Mace and derived classes.

A_FireMacePL1
(no parameter)

Has two different outcomes, chosen at random.

  • Main mode (about 89% chance): adjusts the weapon sprite by up to one unit left or right, and up to three units down. Fires a MaceFX1 with a random angle of up to 4.21875° left or right. The ball's special1 field is set to 16.
  • Secondary mode (about 11% chance): shoots a MaceFX2 at a height of 28 units, and makes the ball play the sound "weapons/maceshoot" on its BODY channel. The ball's initial vertical velocity is of 2 points higher than the normal for the player's pitch, and its horizontal velocities are independent of said pitch.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.