A_KnightAttack

From ZDoom Wiki
Revision as of 15:33, 10 August 2009 by Gez (talk | contribs) (Created page with '{{DISPLAYTITLE:A_KnightAttack}} '''A_KnightAttack'''<br /> (no parameters) Does nothing if the calling actor has no valid target. If the target is within melee range, this infl…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A_KnightAttack
(no parameters)

Does nothing if the calling actor has no valid target.

If the target is within melee range, this inflicts it 3d8 damage and plays the sound "hknight/melee" on the BODY channel.

Otherwise, it plays the calling actor's attack sound on the same channel, and throws at the target either a KnightAxe or a RedAxe. The latter is selected about 16% of the time, or if the calling actor has the SHADOW flag; for this reason a Knight will throw mostly ethereal axes while a KnightGhost will always throw bloody axes.