A_BruisAttack

From ZDoom Wiki

Jump to: navigation, search

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 performs a melee attack with a damage value of 10.

Examples

This is the definition of the Hell Knight, which utilizes A_BruisAttack:

actor HellKnight : BaronOfHell 69
{
  spawnid 113
  obituary "%o was splayed by a Hell Knight."
  hitobituary "%o was gutted by a Hell Knight."
  health 500
  radius 24
  height 64
  mass 1000
  speed 8
  painchance 50
  seesound "knight/sight"
  painsound "knight/pain"
  deathsound "knight/death"
  activesound "knight/active"
  MONSTER
  +FLOORCLIP
  states
  {
  Spawn:
    BOS2 AB 10 A_Look
    loop
  See:
    BOS2 AABBCCDD 3 A_Chase
    loop
  Melee:
  Missile:
    BOS2 EF 8 A_FaceTarget
    BOS2 G 8 A_BruisAttack  // See BaronBall
    goto See
  Pain:
    BOS2 H 2
    BOS2 H 2 A_Pain
    goto See
  Death:
    BOS2 I 8
    BOS2 J 8 A_Scream
    BOS2 K 8
    BOS2 L 8 A_NoBlocking
    BOS2 MN 8
    BOS2 O -1 A_BossDeath
    stop
  Raise:
    BOS2 ONMLKJI 8
    goto See
  }
}
Personal tools