A_StaffAttack

From ZDoom Wiki
Jump to navigation Jump to search

A_StaffAttack (int damage, string puff)

Performs a melee attack for damage point and using puff as the puff type. If the given puff type is invalid, BulletPuff is used as a fall-back. The player using the calling weapon also turns to face the target, if any.

This codepointer is restricted to Staff and derived classes.