|
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do not need to copy that actor, since it is already defined.
- In fact, it's not just useless, it's actually harmful as it can cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
- 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
|
(Heretic)
|
DoomEd Number
|
None
|
Class Name
|
SkullRodPowered
|
Classes: Inventory→Weapon→HereticWeapon→SkullRod→SkullRodPowered
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.
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
}
}