Classes:SkullRodPowered

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.
Tomed hellstaff
Actor type Weapon Game MiniHereticLogoIcon.png
DoomEd Number None Class Name SkullRodPowered


Classes: InventoryWeaponHereticWeaponSkullRodSkullRodPowered

Used with the tome of power, the hellstaff throws a single, large projectiles which creates a rain of blood-red energy in a small area around its impact point. A given player can only maintain two such rains, upon firing a third the oldest of the two pre-existing ones disappears.

DECORATE definition

ACTOR SkullRodPowered : SkullRod
{
  +WEAPON.POWERED_UP
  Weapon.AmmoUse1 5
  Weapon.AmmoGive1 0
  Weapon.SisterWeapon "SkullRod"
  Tag "$TAG_SKULLRODP"

  action native A_FireSkullRodPL2();

  States
  {
  Fire:
    HROD C 2
    HROD D 3
    HROD E 2
    HROD F 3
    HROD G 4 A_FireSkullRodPL2
    HROD F 2
    HROD E 3
    HROD D 2
    HROD C 2 A_ReFire
    Goto Ready
  }
}