Classes:AlienSpectre3

From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do not need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it's actually harmful as it can cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
  5. There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
The Oracle's spectre
Actor type Monster Game MiniStrifeLogoIcon.png
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
  }
}