Classes:GoldWandPowered

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.
Tomed elvenwand
Actor type Weapon Game MiniHereticLogoIcon.png (Heretic)
DoomEd Number None Class Name GoldWandPowered


Classes: InventoryWeaponHereticWeaponGoldWandGoldWandPowered
Corvus's elvenwand with the tome of power activated. It fires five weak hitscan shots with a fan-like spread, and two projectiles at the edges of said fan spread.

DECORATE definition

ACTOR GoldWandPowered : GoldWand
{
  +WEAPON.POWERED_UP
  Weapon.AmmoGive 0
  Weapon.SisterWeapon "GoldWand"
  Obituary "$OB_MPPGOLDWAND"
  Tag "$TAG_GOLDWANDP"

  action native A_FireGoldWandPL2();

  States
  {
  Fire:
    GWND B 3 
    GWND C 4 A_FireGoldWandPL2
    GWND D 3
    GWND D 0 A_ReFire
    Goto Ready
  }
}