A_BeakAttackPL2

From ZDoom Wiki
Jump to navigation Jump to search

A_BeakAttackPL2
(no parameters)

Deal between 4 and 32 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 3 (meaning that the default attack state may last between the full 18 tics and merely 15 tics).

This codepointer is restricted to BeakPowered and derived classes.