Classes:MummyLeader

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.
Nitrogolem
Actor type Monster Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number 45 Class Name MummyLeader
Spawn ID 2 Identifier T_MUMMYLEADER


Classes: MummyMummyLeader
 →MummyLeaderGhost
Mummy leaders, also known by the awesome name of nitrogolems, are more powerful versions of the common golem. They have 25% more hit points and a lowered pain chance, but their main asset is that they gain a ranged attack in the form of a homing, screaming, flaming skull.

DECORATE definition

ACTOR MummyLeader : Mummy
{
  Species "MummyLeader"
  Health 100
  PainChance 64
  Obituary "$OB_MUMMYLEADER"
  States
  {
  Missile:
    MUMM X 5 A_FaceTarget
    MUMM Y 5 Bright A_FaceTarget
    MUMM X 5 A_FaceTarget
    MUMM Y 5 Bright A_FaceTarget
    MUMM X 5 A_FaceTarget
    MUMM Y 5 Bright A_CustomComboAttack("MummyFX1", 32, random[MummyAttack2](1,8)*2, "mummy/attack2")
    Goto See
  }
}