A_BruisAttack

From ZDoom Wiki
Jump to navigation Jump to search
DoomWiki.org
For more information on this article, visit the A_BruisAttack page on the Doom Wiki.

A_BruisAttack

(no parameters)


The attack of Doom's Hell Knight and Baron of Hell. This either shoots a BaronBall or if the target is sufficiently close plays the sound "baron/melee" and performs a melee attack with a base damage of 10 multiplied by a random value between 1 and 8.


The behavior of this function can be replicated by the use of A_CustomComboAttack in the following manner:

A_CustomComboAttack("BaronBall", 32, 10 * random(1, 8), "baron/melee")

Examples

This example is taken straight from Doom's Hellknight.

 Melee:
 Missile:
   BOS2 EF 8 A_FaceTarget
   BOS2 G 8 A_BruisAttack  // See BaronBall
   goto See