|
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.
|
Sapphire wand
|
Actor type
|
Weapon
|
Game
|
(Hexen)
|
DoomEd Number
|
None
|
Class Name
|
MWeapWand
|
Classes: Inventory→Weapon→MageWeapon→MWeapWand
The Mage's starting weapon, the Sapphire Wand fires an extremely fast projectile that rips through enemies, although deals low damage.
ACTOR MWeapWand : MageWeapon
{
Weapon.SelectionOrder 3600
Weapon.KickBack 0
Weapon.YAdjust 9
Tag "$TAG_MWEAPWAND"
States
{
Select:
MWND A 1 A_Raise
Loop
Deselect:
MWND A 1 A_Lower
Loop
Ready:
MWND A 1 A_WeaponReady
Loop
Fire:
MWND A 6
MWND B 6 Bright Offset(0, 48) A_FireCustomMissile("MageWandMissile")
MWND A 3 Offset(0, 40)
MWND A 3 Offset(0, 36) A_ReFire
Goto Ready
}
}