A_StaffAttack

From ZDoom Wiki
Revision as of 21:35, 18 September 2009 by Gez (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.