A_BeakAttackPL1

From ZDoom Wiki
Jump to navigation Jump to search

A_BeakAttackPL1
(no parameters)

Deal between 1 and 4 melee damage to a target within range, using the BeakPuff puff. In addition, the calling actor plays the sound "chicken/peck" on the VOICE channel and refocuses on the target. The "chickenPeck" counter is set to 12 (it is used to control the beak weapon's height on the HUD) and the calling state's duration is reduced by a random amount between 0 and 7 (meaning that the default attack state may last between the full 18 tics and only 11 tics).

This codepointer is restricted to Beak and derived classes.