A_FireMacePL1

From ZDoom Wiki
Revision as of 14:19, 29 September 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_FireMacePL1}} '''A_FireMacePL1'''<br> (''no parameter'')<br> Has two different outcomes, chosen at random. * Main mode (about 89% chance): adjusts the weapon sp…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 codepointer is restricted to Mace and derived classes.