Classes:AlienSpectre3

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.
The Oracle's spectre
Actor type Monster Game MiniStrifeLogoIcon.png (Strife)
DoomEd Number 76 Class Name AlienSpectre3
Conversation ID 71 Puzzle Item ID N/A


Classes: SpectralMonsterAlienSpectre1AlienSpectre3
The spectre possessing the Oracle. It fires Sigil3 blasts. It is immune to SpectralLightningV1 and SpectralLightningV2, so you need at least a second-phase Sigil to hurt him. It teleports to fight you when the oracle dies or you say the wrong thing to him. If you killed Macil first you will have been to the Loremaster and have the Sigil 4 instead of 2.

DECORATE definition

ACTOR AlienSpectre3 : AlienSpectre1
{
  Health 1500
  PainChance 50
  Radius 24
  +SPAWNCEILING
  DropItem "Sigil3"
  DamageFactor "SpectralLow", 0
  States
  {
  Spawn:
    ALN1 ABCDEFGHIJK 5
    Loop
  See:
    ALN1 AB 5 A_Chase
    ALN1 C 5 A_SentinelBob
    ALN1 DEF 5 A_Chase
    ALN1 G 5 A_SentinelBob
    ALN1 HIJ 5 A_Chase
    ALN1 K 5 A_SentinelBob
    Loop
  Melee:
    ALN1 J 4 A_FaceTarget
    ALN1 I 4 A_CustomMeleeAttack((random[SpectreMelee](0, 255)&9)*5)
    ALN1 C 4
    Goto See+2
  Missile:
    ALN1 F 4 A_FaceTarget
    ALN1 I 4 A_Spectre3Attack
    ALN1 E 4
    Goto See+10
  Pain:
    ALN1 J 2 A_Pain
    Goto See+6
  }
}