Classes:BloodDemon

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
  1. This actor is already defined in GZDoom, there's no reason to define it again.
  2. In fact, trying to define an actor with the same name will cause an error (because it already exists).
  3. If you want to make your own version of this actor, use inheritance.
  4. Definitions for existing actors are put on the wiki for reference purpose only.
Blood demon
Actor type Monster Game MiniSkulltagLogoIcon.png (Skulltag)
DoomEd Number 5004 Class Name BloodDemon
Spawn ID 156 Identifier T_BLOODDEMON
Center Warning: This class is a Skulltag-specific actor that is not included in ZDoom!


Classes: DemonBloodDemon

These sanguine fiends are twice as tough as the ordinary Demon.

DECORATE definition

ACTOR BloodDemon : Demon 5004
{
  SpawnID 156
  Health 300
  Obituary "$OB_BLOODDEMON_MELEE" // "%o was chomped on by a blood demon."
  States
  {
  Spawn:
    SRG2 AB 10 A_Look
    Loop
  See:
    SRG2 AABBCCDD 2 A_Chase
    Loop
  Pain:
    SRG2 H 2
    SRG2 H 2 A_Pain
    Goto See
  Melee:
    SRG2 EF 8 A_FaceTarget
    SRG2 G 8 A_SargAttack
    Goto See
  Death:
    SRG2 I 8
    SRG2 J 8 A_Scream
    SRG2 K 4
    SRG2 L 4 A_NoBlocking
    SRG2 M 4
    SRG2 N -1
    Stop
  Raise:
    SRG2 NMLKJI 5
    Goto See
  }
}